Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with crontab, help pls...

Status
Not open for further replies.

adaaje

Technical User
May 26, 2006
60
AU
Hi guys,

I'm still newbie using crontab. I just have something wrong with me crontab.

first if I input the job by using :
crontab -e

and then input the job :
12 17 * * * ./CheckMissingFiles.ksh 4

and I checked it by typing "crontab -l", and they brought up :
12 17 * * * ./CheckMissingFiles.ksh 4

but I was waiting until 17.30, the job is not running ...
any reason why ?

 
Is that all Anni ?

or there is something else I should put, Thanks man...
 
Umm... like what? Make sure the script is executable I guess? chmod u+x CheckMissingFiles.ksh.

Annihilannic.
 
Also check your mail. Since you're not redirecting the output, you should have received an email with the error message from cron trying to run it.
 
Also check that the $PATH and any other variables required if running the script interactively are explicitly set in the script as cron operates in a very limited environment.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top