Cron Tasks

We need to configure the crontasks for the atavism user, so we change to it and execute the crontab as that user. This will activate the system that checks for the start/restart/stop messages from the web servers and editors. We will execute this only under the atavism user itself so that it executes the crontasks.
sudo su atavism crontab -e |
Paste the following crontasks at the bottom. See the examples below.
* * * * * php -f /opt/servercheck/AtavismRestart.php >/dev/null 2>&1 * * * * * sleep 15 && php -f /opt/servercheck/AtavismRestart.php >/dev/null 2>&1 * * * * * sleep 30 && php -f /opt/servercheck/AtavismRestart.php >/dev/null 2>&1 * * * * * sleep 45 && php -f /opt/servercheck/AtavismRestart.php >/dev/null 2>&1 * * * * * php -f /opt/servercheck/AtavismStatus.php >/dev/null 2>&1 * * * * * sleep 15 && php -f /opt/servercheck/AtavismStatus.php >/dev/null 2>&1 * * * * * sleep 30 && php -f /opt/servercheck/AtavismStatus.php >/dev/null 2>&1 * * * * * sleep 45 && php -f /opt/servercheck/AtavismStatus.php >/dev/null 2>&1 |