|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Are there any good tutorials?
Right now I have a process which includes many small processes. Everything has to be run in a certain order. Can I have something like this done in a cron job: Process A - scheduled daily Process B - not scheduled, only called by Process A under certain conditions Process C - not scheduled, only called by Process B under certain conditions Is this possible with a cron job to have a job that isn't actually scheduled. I wanted this for a status tracking purposes. Does cronjob keep track of the status of it's job with a code that one can see? |
|
#2
|
|||
|
|||
|
the best tutorial is the manpage
man cron man crontab man 5 crontab once a minute, the cron daemon compares the current time to the entries in the crontabs. If it finds a match, it excecutes the command, optionally as the specified user. The time is the only criteria. Further, when executing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if such exists). Check your syslogd.conf to see which logfile which level of cron messages land in (probably at least in /var/log/all). You can also divert the error and output as you would normally on the command line. -Steven |
|
#3
|
|||
|
|||
|
Rather than trying to do some wicked voodoo trickery with cron,
why not write up your own shell script to handle all of this. and then schedule your script with cron? |
|
#4
|
|||
|
|||
|
right... that was where I was going with my post... but it was 4am in central europe, and it appears I got sidetracked by the sandman before making a point.. beg your pardon.
-Steven |
|
#5
|
|||
|
|||
|
cron job help
Thanks a lot for the valuable help!!!!
|
|
#6
|
|||
|
|||
![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Cron Job Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|