Cronjobs

From SolusVM

Jump to: navigation, search

This is NO LONGER REQUIRED

SolusVM uses several cronjobs. These cronjobs range from bandwidth counting to system health checking.

These cronjobs need to be added to the root users cronjob list on the SolusVM master only, using the following method:

Make sure the old crontab system is fully removed:

rm -rf /etc/cron.d/solusvm_cron

export EDITOR=nano
crontab -u root -e

Add the following to the open file:

*/10 * * * * /usr/bin/php /usr/local/solusvm/system/vzbw.php >/dev/null 2>&1
00 0 01 * * /usr/bin/php /usr/local/solusvm/system/vzstat.php >/dev/null 2>&1
*/5 * * * * /usr/bin/php /usr/local/solusvm/system/syscheck.php >/dev/null 2>&1

Now press CTL+X to save and exit.

Personal tools
Installation/Upgrading
Customization