crontab -e

0 4 * * * /sbin/service httpd restart