Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-08-2010, 12:32 AM   #1
LQ Newbie
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
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.

Hari A
Old 10-08-2010, 01:20 AM   #2
Registered: Sep 2010
Posts: 66

Rep: Reputation: 2
Check below link for other info:

run your script @
0 3,4,5 * * * /path/of/your/script
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run a shell script automatically? ceantuco Linux - Newbie 4 12-16-2008 10:16 AM
How to run a shell script evey day automatically at a particular time krevathi1912 Programming 3 09-22-2007 01:15 PM
RH8 - how to automatically run a shell script at boot time nu-B Linux - Newbie 2 11-03-2003 02:47 PM
RH8 - how to automatically run iptables rules shell script at boot time nu-B Linux - General 1 10-29-2003 08:38 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration