Cron Jobs not running at scheduled time

I've scheduled few jobs using cron. But they are not running .....

What might be the possible reasons ?? Also tell me how to troubleshoot.............

Please help me .......

Thanks in Advance.

Is the cron daemon running?

Did you check the log files?

A few things to consider:-

  • Is you script executable?
  • Does your script run on the command line? Is the syntax correct?
  • Are the paths to commands correctly specified? Remember that cron does not run /etc/profile or ~/.profile for you.
  • Does your script rely on a terminal (input, stty commands etc.)
  • Does the account running it have any e-mail with errors?
  • Is your cron entry pointing to the correct file name?
  • Is your script valid (does it have a #!/bin/ksh or whatever as the first characters)
  • Has the system clock been reset recently (might need to stop/start the cron daemon)

Can you show us what you are trying to run, what troubleshooting you have done etc.

Thanks, in advance,
Robin
Liverpool/Blackburn
UK

1 Like