![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Local shell script need to be executed on a remote linux box | rajeshomallur | Linux | 6 | 05-02-2008 10:05 AM |
| perl - why is the shell script executed before the print command? | mjays | Shell Programming and Scripting | 3 | 09-21-2007 02:49 AM |
| Unix shell script couldn't be executed. Pls help! | duke0001 | Shell Programming and Scripting | 8 | 09-14-2006 08:15 PM |
| Help - Need simple example of VI executed in shell script | corsart | AIX | 2 | 06-03-2006 03:25 PM |
| bash scripting cannot executed in crontab | jimmbp | Shell Programming and Scripting | 6 | 11-11-2005 08:23 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
... and you wait till the clock strikes 30mins after the hour and nothing happens?
strange... |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
how do i change it to for every 30 minutes rather than 30minutes after the hour. May be I was checking it incorrectly. Because my intention is to do it every half hour.
|
|
#10
|
||||
|
||||
|
Quote:
|
|
#11
|
|||
|
|||
|
okay! I found my problem. It's not a problem, I was misinterpreting the minute part.
When we say 30 * * * * test.sh implies it runs 30mins after the hour. Not every 30 minutes. If I want the script to run every 30 minutes then we should say- 0, 30 * * * * test.sh I tested this logic using short time 1 minute. For ex: 1 * * * * test.sh will run at 1 minute after every hour. 1, 5 * * * * test.sh will run at 1minute after every hour and 5 minutes after every hour. Radhika. |
|
#12
|
||||
|
||||
|
Radhika that's right u might use in crontab:
00,30 * *....... |
||||
| Google The UNIX and Linux Forums |