Mods to cron for roaming jobs
This commit is contained in:
parent
1042e20b7a
commit
74df79a57e
1 changed files with 4 additions and 2 deletions
|
@ -23,8 +23,10 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
||||||
# */10 * * * * root /home/rhizomatica/bin/bind_check.sh
|
# */10 * * * * root /home/rhizomatica/bin/bind_check.sh
|
||||||
|
|
||||||
#Roaming jobs
|
#Roaming jobs
|
||||||
*/30 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py > /dev/null 2>&1 ; timeout 15m /usr/bin/python /var/rhizomatica/rccn/rhs.py > /dev/null 2>&1
|
*/15 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py > /dev/null 2>&1 ; timeout 15m /usr/bin/python /var/rhizomatica/rccn/rhs.py > /dev/null 2>&1
|
||||||
10 */2 * * * root /usr/bin/python /var/rhizomatica/rccn/push.py recent 1
|
*/30 * * * * root /usr/bin/python /var/rhizomatica/rccn/push.py -c -r1 > /dev/null 2>&1
|
||||||
|
#Do a full push once a week, random minute
|
||||||
|
<%= scope.function_fqdn_rand([59]) %> 3 * * 0 root /usr/bin/python /var/rhizomatica/rccn/push.py
|
||||||
|
|
||||||
#Cleanup inactive users
|
#Cleanup inactive users
|
||||||
0 5 * * * root /usr/bin/python /var/rhizomatica/rccn/rip.py > /dev/null 2>&1
|
0 5 * * * root /usr/bin/python /var/rhizomatica/rccn/rip.py > /dev/null 2>&1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue