Initial refactoring
Renamed rhizomatica_base_system to rhizo_base Split up the init.pp in different subclasses More work to follow
This commit is contained in:
parent
7b938abede
commit
1c7dffc32a
192 changed files with 547 additions and 430 deletions
|
@ -1,46 +0,0 @@
|
|||
#Rhizomatica cron jobs
|
||||
PYTHONPATH=$PYTHONPATH:/var/rhizomatica/rccn
|
||||
|
||||
# m h dom mon dow user command
|
||||
|
||||
#SMS reminders for users
|
||||
0 8 1 * * root /usr/bin/python /var/rhizomatica/rccn/rsc.py notice
|
||||
0 8 3 * * root /usr/bin/python /var/rhizomatica/rccn/rsc.py reminder
|
||||
0 21 7 * * root /usr/bin/python /var/rhizomatica/rccn/rsc.py deactivate
|
||||
|
||||
#SMS reminder for admin
|
||||
0 */5 * * * root /var/rhizomatica/bin/check_account_balance.sh
|
||||
|
||||
#SMS cleanup
|
||||
0 3 * * * root /var/rhizomatica/bin/sms_cleanup.sh
|
||||
|
||||
#RRDtools graphs
|
||||
*/5 * * * * root /var/rhizomatica/bin/platform_update_rrd.sh
|
||||
*/5 * * * * root /var/rhizomatica/bin/network_update_rrd.sh
|
||||
|
||||
#Bind check between OpenBSC and Kannel (disabled)
|
||||
# */10 * * * * root /home/rhizomatica/bin/bind_check.sh
|
||||
|
||||
#Roaming jobs
|
||||
*/10 * * * * root /usr/bin/python /var/rhizomatica/rccn/rrc.py > /dev/null 2>&1 && /usr/bin/python /var/rhizomatica/rccn/rhs.py > /dev/null 2>&1
|
||||
|
||||
#Cleanup inactive users
|
||||
0 5 * * * root /usr/bin/python /var/rhizomatica/rccn/rip.py > /dev/null 2>&1
|
||||
|
||||
# amplifier monitoring
|
||||
*/5 * * * * root /home/rhizomatica/bin/monitor_amp.sh > /dev/null 2>&1
|
||||
|
||||
# RAPI monitoring
|
||||
*/5 * * * * root /var/rhizomatica/bin/monitor_rapi.sh > /dev/null 2>&1
|
||||
|
||||
#Billing
|
||||
0 10 * * * root [[ $(date +'%d') -eq $(cal | awk '!/^$/{ print $NF }' | grep -v '^ ' | tail -1) ]] && /var/rhizomatica/bin/active_subscribers.sh
|
||||
|
||||
#Restart osmo-nitb every 6 hours
|
||||
0 */6 * * * root /usr/bin/sv restart osmo-nitb 2&>1 /dev/null
|
||||
|
||||
#PostgreSQL backup
|
||||
0 3 * * * postgres /home/rhizomatica/bin/pg_backup_rotated.sh
|
||||
|
||||
#SQLite backup
|
||||
0 4 * * * root /home/rhizomatica/bin/sqlite_backup_rotated.sh
|
Loading…
Add table
Add a link
Reference in a new issue