|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
cron job! pls help!
hi,
i have several cron jobs to run. How do i install a master cron to control all those slave crons? That is to say, the master cron should start the next cron job immediately after a cron job has finished. Pls help!!! |
|
#2
|
|||
|
|||
|
With a simple script that starts them one after the other...
Like: Code:
/etc/crontab: 0 0 0 * 0 root /root/bin/allcron.sh Code:
/root/bin/allcron.sh: #!/bin/sh /path1/job1 /path2/job2 /path3/job3 ...
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
Cron Job - Pls Help
Thanks for your help.
Now if the first cron is hang, how can i ask the master cron to stop the slave cron and start the next cron? thanks |
|
#4
|
|||
|
|||
|
if you want to do advanced scripting, read the bash manual or learn PERL...
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > cron job! pls help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|