Added rhizomatica cronjobs.
This commit is contained in:
parent
2be0854283
commit
cc787486d1
2 changed files with 17 additions and 0 deletions
13
modules/rhizomatica_base_system/files/etc/cron.d/rhizomatica
Normal file
13
modules/rhizomatica_base_system/files/etc/cron.d/rhizomatica
Normal file
|
@ -0,0 +1,13 @@
|
|||
#Rhizomatica cron jobs
|
||||
PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
||||
|
||||
# m h dom mon dow user command
|
||||
0 8 1 * * root /usr/bin/python /var/rhizomatica/rccn/rsc.py notice
|
||||
0 8 3 * * root /usr/bin/python /var/rhizomatica/rccn/rsc.py reminder
|
||||
0 21 7 * * root /usr/bin/python /var/rhizomatica/rccn/rsc.py deactivate
|
||||
0 */5 * * * root /var/rhizomatica/bin/check_account_balance.sh
|
||||
0 3 * * * root /var/rhizomatica/bin/sms_cleanup.sh
|
||||
*/5 * * * * root /var/rhizomatica/bin/platform_update_rrd.sh
|
||||
*/5 * * * * root /var/rhizomatica/bin/network_update_rrd.sh
|
||||
# */10 * * * * root /home/rhizomatica/bin/bind_check.sh
|
||||
|
|
@ -261,4 +261,8 @@ class rhizomatica_base_system {
|
|||
require => Package['osmocom-nitb'],
|
||||
}
|
||||
|
||||
file { '/etc/cron.d/rhizomatica':
|
||||
source => 'puppet:///modules/rhizomatica_base_system/etc/cron.d/rhizomatica',
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue