Commit b5bd95095c243c45f585d97dd361ffaf93d29b92
1 parent
190b57cc
Exists in
master
and in
39 other branches
Updating cronjobs
Showing
1 changed file
with
11 additions
and
5 deletions
Show diff stats
puppet/modules/colab/manifests/cronjobs.pp
... | ... | @@ -8,26 +8,32 @@ class colab::cronjobs { |
8 | 8 | user => colab, |
9 | 9 | } |
10 | 10 | |
11 | + cron { 'feedzilla': | |
12 | + command => "$manage_colab feedzilla_update &> /dev/null" | |
13 | + hour => '*', | |
14 | + minute => '0', | |
15 | + } | |
16 | + | |
11 | 17 | cron { 'update-badges': |
12 | - command => "$manage_colab update_badges", | |
18 | + command => "$manage_colab update_badges &> /dev/null", | |
13 | 19 | hour => '*', |
14 | 20 | minute => '*/5', |
15 | 21 | } |
16 | 22 | |
17 | 23 | cron { 'update-haystack-index': |
18 | - command => "$manage_colab update_index --age=1", | |
24 | + command => "$manage_colab update_index --age=1 &> /dev/null", | |
19 | 25 | hour => '*', |
20 | 26 | minute => '*', |
21 | 27 | } |
22 | 28 | |
23 | 29 | cron { 'rebuild-haystack-index': |
24 | - command => "$manage_colab rebuild_index --noinput", | |
30 | + command => "$manage_colab rebuild_index --noinput &> /dev/null", | |
25 | 31 | hour => '2', |
26 | 32 | minute => '34', |
27 | 33 | } |
28 | 34 | |
29 | 35 | cron { 'import-mailman-messages': |
30 | - command => "$manage_colab import_emails --archives_path=/mnt/mailman/archives/ --exclude-list=saberes-divulgacao --exclude-list=pml --exclude-list=mailman --exclude-list=lexml-anuncios", | |
36 | + command => "$manage_colab import_emails --archives_path=/mnt/mailman/archives/ --exclude-list=saberes-divulgacao --exclude-list=pml --exclude-list=mailman --exclude-list=lexml-anuncios &> /dev/null", | |
31 | 37 | hour => '*', |
32 | 38 | minute => '*', |
33 | 39 | } |
... | ... | @@ -42,7 +48,7 @@ class colab::cronjobs { |
42 | 48 | } |
43 | 49 | |
44 | 50 | cron { 'mount-sshfs': |
45 | - command => 'test -e /mnt/mailman/archives/flag || sshfs root@listas.interlegis.gov.br:/var/lib/mailman/archives/private /mnt/mailman/archives/ -o ro,nosuid,nodev,max_read=65536,allow_other,IdentityFile=/root/.ssh/id_rsa && touch /mnt/mailman/archives/flag', | |
51 | + command => 'test -e /mnt/mailman/archives/flag || sshfs root@listas.interlegis.gov.br:/var/lib/mailman/archives/private /mnt/mailman/archives/ -o ro,nosuid,nodev,max_read=65536,allow_other,IdentityFile=/root/.ssh/id_rsa && touch /mnt/mailman/archives/flag &> /dev/null', | |
46 | 52 | minute => '*/5', |
47 | 53 | user => 'root', |
48 | 54 | require => [ | ... | ... |