LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   To run a shell script automatically on time (https://www.linuxquestions.org/questions/linux-server-73/to-run-a-shell-script-automatically-on-time-836877/)

A.Hariharasudhan 10-08-2010 12:32 AM

To run a shell script automatically on time
 
Hello All,

I have a shell script named as Ping.ksh.Actually this script will ping 100 server for few second and suit a mail to me the server names those are not in online.

So i need to run this script 3am,4am and 5am daily. I'm new to this lunix. If you help me to run this job daily on above mentioned time interval that would be really helpful for me.

Thnx
Hari A

leejohnli 10-08-2010 01:20 AM

Check below link for other info:
http://www.crontabrocks.org/

run your script @
0 3,4,5 * * * /path/of/your/script


All times are GMT -5. The time now is 06:58 PM.