CRON (re)activate sms_cleanup + update riak stategy

This commit is contained in:
Monocots 2019-06-16 11:48:02 +00:00
parent a050b6f1ab
commit e0ece39cee

View file

@ -14,7 +14,7 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
# 0 */5 * * * root /var/rhizomatica/bin/check_account_balance.sh
#SMS cleanup
# 0 3 * * * root /var/rhizomatica/bin/sms_cleanup.sh
0 3 * * * root /var/rhizomatica/bin/sms_cleanup.sh
#RRDtools graphs
*/5 * * * * root /var/rhizomatica/bin/platform_update_rrd.sh
@ -25,7 +25,19 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
# */10 * * * * root /home/rhizomatica/bin/bind_check.sh
#Roaming jobs
*/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
# Look for connected IMSIs known in the dHLR.
*/10 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py -c -f > /dev/null 2>&1
# The last run time gets behind and then this job hangs and never completes, perpetuating this
# so just sync the last 15 mins every 10
*/10 * * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rhs.py -c -m 15 > /dev/null 2>&1
# Clean up the HLRs
45 4 * * 0 root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rhs.py -de
# When phones are least likely to be physically moving about, reset the locations based on recent local LUR
35 3 * * * root timeout 10m /usr/bin/python /var/rhizomatica/rccn/rrc.py -o -l > /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
@ -40,7 +52,7 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
<%= 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
<%= scope.function_fqdn_rand([59]) %> 4 4 * * 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
@ -66,7 +78,7 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
30 5 * * * root /home/rhizomatica/bin/check_broken.sh
# Check if FS or NTIB needs restart
30 3 * * * root /home/rhizomatica/bin/check_dirty.sh
30 2-5 * * * root /home/rhizomatica/bin/check_dirty.sh
#PostgreSQL backup
0 3 * * * postgres /home/rhizomatica/bin/pg_backup_rotated.sh > /dev/null 2>&1