![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unable to schedule events through cron | rakshit | HP-UX | 7 | 01-31-2008 04:57 AM |
| schedule many jobs using cron | sireesha15 | UNIX for Dummies Questions & Answers | 1 | 11-28-2006 11:20 PM |
| How to schedule a job | ashvik | UNIX for Advanced & Expert Users | 5 | 09-22-2005 07:53 AM |
| Cron to schedule 1st Wednesday of every Month?? | bradtri | Shell Programming and Scripting | 5 | 10-20-2004 12:12 PM |
| Very urgent!! Cron problems | pappous | UNIX for Dummies Questions & Answers | 4 | 02-20-2001 10:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to Schedule job using cron(URGENT)
Hello All,
I m newbie to Job scheduling. Suppose i have 2 files s1.sh and s2.sh i want to make a schedule such as run s1.sh at 2AM everyday and run s2.sh 9Pm everyday. Can anyone tell me how to schdule that using CRON and i want to know what is CRON and CRONTAB. Thanks in advance |
|
||||
|
please check the crobtab menu to add the crontab entry the explation is more or less like this
#1st field: minute (0-59), #2nd field: hour (0-23), #3rd field: day of the month (1-31), #4th field: month of the year (1-12), #5th field: day of the week (0-6 with 0=Sunday). #6th field: Script to start on example 00 17 * * 3 /home/test.sh This shell script run 17th hour, every day(since there is a * ), every month ( since there is a * ), 3rd day ( which is wednesday ) Check the menu of crontab whether the cron file is there in your system. rajesh |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|