wiki:BoaCronJobs

Version 3 (modified by chris, 11 months ago) (diff)

--

BOA Cron Jobs

The following BOA root cronjobs on PuffinServer were commented out on ticket:846#comment:88 and we did consider if any were worth re-enabling on ticket:893:

crontab -l -u root
#* * * * * bash /var/xdrago/second.sh >/dev/null 2>&1
#* * * * * bash /var/xdrago/minute.sh >/dev/null 2>&1
#* * * * * bash /var/xdrago/runner.sh >/dev/null 2>&1
#* * * * * bash /var/xdrago/manage_ltd_users.sh >/dev/null 2>&1
#03 * * * * bash /var/xdrago/clear.sh >/dev/null 2>&1
#14 * * * * bash /var/xdrago/purge_binlogs.sh >/dev/null 2>&1
#01 0 * * * bash /var/xdrago/graceful.sh >/dev/null 2>&1
#08 0 * * * bash /var/xdrago/mysql_backup.sh >/dev/null 2>&1
#08 2 * * * bash /opt/local/bin/backboa backup >/dev/null 2>&1
#08 8 * * * bash /opt/local/bin/duobackboa backup >/dev/null 2>&1
#58 2 * * * bash /var/xdrago/daily.sh >/dev/null 2>&1
#58 5 * * * bash /var/xdrago/fetch-remote.sh >/dev/null 2>&1

/var/xdrago/second.sh

This script (among other things) deals with "load control", it changing Nginx config and kills services depending on the load.

/var/xdrago/minute.sh

This script (among other things) kills PHP-FPM based on the size of the logs.

/var/xdrago/runner.sh

This script deals with "load control".

/var/xdrago/manage_ltd_users.sh

This script does various things with user accounts and BOA updates.

/var/xdrago/clear.sh

This script deal with swap, load and some updates.

/var/xdrago/purge_binlogs.sh

This script counts the CPUs and does "load control".

/var/xdrago/graceful.sh

This script deletes log files.

/var/xdrago/mysql_backup.sh

This script creates a MySQL in /data/disk/arch/sql however we are also running backup ninja via /etc/backup.d/20.mysql which dumps backups in /var/backups/mysql/sqldump.

/opt/local/bin/backboa backup

This script is for backing the server up to Amazon AWS, which is something which we don't use.

/opt/local/bin/duobackboa

This script is for backing the server up to Amazon AWS, which is something which we don't use.

/var/xdrago/daily.sh

This script (among other things) checks Drupal sites and deletes temp files.

/var/xdrago/fetch-remote.sh

This script doesn't exist.

Attachments