CRON: remove balance check, activate sms_cleanup and sms queue check, purge inactive roaming more often
This commit is contained in:
parent
65715ea60f
commit
e4d27d6494
1 changed files with 5 additions and 3 deletions
|
@ -11,10 +11,10 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
||||||
#SMS reminder for admin
|
#SMS reminder for admin
|
||||||
0 */5 * * * root /var/rhizomatica/bin/check_account_balance.sh
|
# 0 */5 * * * root /var/rhizomatica/bin/check_account_balance.sh
|
||||||
|
|
||||||
#SMS cleanup
|
#SMS cleanup
|
||||||
# 0 3 * * * root /var/rhizomatica/bin/sms_cleanup.sh
|
0 3 * * * root /var/rhizomatica/bin/sms_cleanup.sh
|
||||||
|
|
||||||
#RRDtools graphs
|
#RRDtools graphs
|
||||||
*/5 * * * * root /var/rhizomatica/bin/platform_update_rrd.sh
|
*/5 * * * * root /var/rhizomatica/bin/platform_update_rrd.sh
|
||||||
|
@ -28,6 +28,8 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
||||||
*/10 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py -c -f > /dev/null 2>&1 ; timeout 10m /usr/bin/python /var/rhizomatica/rccn/rhs.py -c > /dev/null 2>&1
|
*/10 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py -c -f > /dev/null 2>&1 ; timeout 10m /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
|
#*/15 * * * * root /usr/bin/python /var/rhizomatica/rccn/rhs.py > /dev/null 2>&1
|
||||||
|
|
||||||
|
*/10 * * * * root timeout 5m /usr/bin/python /var/rhizomatica/rccn/sqs.py > /dev/null 2>&1
|
||||||
|
|
||||||
# Push Subscribers created in the last hour, every 30 mins
|
# 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
|
*/30 * * * * root /usr/bin/python /var/rhizomatica/rccn/push.py -c -r1 > /dev/null 2>&1
|
||||||
|
|
||||||
|
@ -38,7 +40,7 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
||||||
<%= scope.function_fqdn_rand([59]) %> 3 10 * * root /usr/bin/python /var/rhizomatica/rccn/push.py -n
|
<%= scope.function_fqdn_rand([59]) %> 3 10 * * root /usr/bin/python /var/rhizomatica/rccn/push.py -n
|
||||||
|
|
||||||
# Purge Inactive Roaming Subscribers
|
# Purge Inactive Roaming Subscribers
|
||||||
<%= scope.function_fqdn_rand([59]) %> 4 * * 0 root /usr/bin/python /var/rhizomatica/rccn/rrc.py -p
|
<%= scope.function_fqdn_rand([59]) %> 4 4 * * root /usr/bin/python /var/rhizomatica/rccn/rrc.py -p
|
||||||
|
|
||||||
#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