Modify the cron jobs a little for roaming and sync
This commit is contained in:
parent
c3e6774452
commit
ac3552a00c
1 changed files with 11 additions and 1 deletions
|
@ -23,11 +23,21 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
|||
# */10 * * * * root /home/rhizomatica/bin/bind_check.sh
|
||||
|
||||
#Roaming jobs
|
||||
*/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 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py -c -f > /dev/null 2>&1 ; /usr/bin/python /var/rhizomatica/rccn/rhs.py -c > /dev/null 2>&1
|
||||
#*/15 * * * * root /usr/bin/python /var/rhizomatica/rccn/rhs.py > /dev/null 2>&1
|
||||
|
||||
# Push Subscribers created in the last hour, every 30 mins
|
||||
*/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
|
||||
|
||||
#Do a full push once a month of not authorized Subs.
|
||||
<%= scope.function_fqdn_rand([59]) %> 3 10 * * root /usr/bin/python /var/rhizomatica/rccn/push.py -n
|
||||
|
||||
# Purge Inactive Roaming Subscribers
|
||||
<%= scope.function_fqdn_rand([59]) %> 4 * * 0 root /usr/bin/python /var/rhizomatica/rccn/rrc.py -p
|
||||
|
||||
#Cleanup inactive users
|
||||
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