Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # crontab -l
- 32 3 * * * /opt/bin/restartApache.sh > /dev/null
- # cat /opt/bin/restartApache.sh
- #!/bin/bash
- /usr/bin/killall -9 httpd
- sleep 3
- /usr/bin/killall -9 httpd
- sleep 3
- /etc/init.d/httpd start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement