From 47fb7414007acea80558f45a705b6087f68292f8 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Wed, 11 Jan 2023 17:53:01 +0100 Subject: [PATCH] Remove Riak related cron jobs --- .../rhizo_base/templates/rhizomatica.cron.erb | 31 ++----------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/modules/rhizo_base/templates/rhizomatica.cron.erb b/modules/rhizo_base/templates/rhizomatica.cron.erb index 08d7a03..816d4e3 100644 --- a/modules/rhizo_base/templates/rhizomatica.cron.erb +++ b/modules/rhizo_base/templates/rhizomatica.cron.erb @@ -24,38 +24,11 @@ PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn #Bind check between OpenBSC and Kannel (disabled) # */10 * * * * root /home/rhizomatica/bin/bind_check.sh -#Roaming jobs -# 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 - +# Check for lost SMS */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 -*/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 8 */4 * root /usr/bin/python /var/rhizomatica/rccn/rrc.py -p - # Cleanup excess create'd-on-demand 5 digit extensions from the osmo-nitb HLR - 45 4 * * * root /usr/bin/python /var/rhizomatica/rccn/rip.py > /dev/null 2>&1 +# 45 4 * * * root /usr/bin/python /var/rhizomatica/rccn/rip.py > /dev/null 2>&1 <% if @bts_type == 'litecel' -%> # RAN monitoring