crontab -e
1 1 * * * /home/ispc/cron/kill_httpd.sh
vi /home/ispc/cron/kill_httpd.sh
>> ps aux | grep -ie http | awk '{print $2}' | xargs kill -9
For cron job assignment: reference to : http://en.wikipedia.org/wiki/Cron
Modified on: Wed, 2 Apr, 2014 at 12:34 PM
crontab -e
1 1 * * * /home/ispc/cron/kill_httpd.sh
vi /home/ispc/cron/kill_httpd.sh
>> ps aux | grep -ie http | awk '{print $2}' | xargs kill -9
For cron job assignment: reference to : http://en.wikipedia.org/wiki/Cron
Did you find it helpful? Yes No
Send feedback