This is how cron should be configured on new band site hosting servers.

See also: Creating a Band Site Hosting Server

Install netcat

# yum install nc

# crontab -e

Delete any lines that follow the formats:

0 * * * * wget -0 - -q http://SOME.BOMBPLATE.PAGE/cron.php  >/dev/null 2>&1
0 * * * * ( echo 'GET cron.php HTTP/1.1' ; echo 'Host: SOME.BOMBPLATE.PAGE' ; echo ; echo ; sleep 1 ) | telnet 127.0.0.1 80 >/dev/null 2>&1

Also delete the following lines:

0 * * * * mysqldump --skip-opt -u baseline_user -ps8y34Zkr baseline_db > /usr/bandsXtools/baseline-human-readable.sql >/dev/null 2>&1
0 * * * * mysqldump -u baseline_user -ps8y34Zkr baseline_db > /usr/bandsXtools/bombplates.sql >/dev/null 2>&1

Replace them with


2   1   *   *   *   wget -O - -q http://BANDSX.bombplates.com/gen_tours.php >/dev/null 2>&1
0   0   *   *   5   /sbin/fsck -n >> /home/vomitHat/.motd 2>&1
0   0   *   *   2   /usr/bin/yum update -y
0 * * * * cd /usr/bandsXtools ; git pull >/dev/null 2>&1
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /bin/rm /var/tmp/prompt.LOCK >/dev/null 2>&1
1,6,11,16,21,26,31,36,41,46,51,56 * * * * /usr/bandsXtools/httpd-restart.sh >/dev/null 2>&1
0,5,10,15,20,25,30,35,40,45,50,55 * * * * ( echo 'GET /prompt.php HTTP/1.0' ; echo ; echo ; sleep 1 ) | telnet 127.0.0.1 80 >/dev/null 2>&1

Enable cron daemon