Scheduled job not running automatically in crontab

i have a job scheduled in crontab. The problem is, it is not running automatically as per the time scheduled. But runs when executed manually. What would be the problem? Help me with this please.

Hi,

Welcome to the forums.
There could be a few points you need to make sure.

  • Script not executing at all or script not executing successfully?

If its later, most of the time its an environmental issue.

1 Like

Script not executing at all.

Again, How did you find that out? Are there other scripts scheduled for the same user? which are executing?

This is a fairly common complaint. Try checking out the links at the bottom of this page:

  1. Crontab - entry not working , cron job not running,
  2. Oracle Scheduled job not running as per schedule.,
  3. variable has no value if run the script automatically/scheduled,
  4. crontab job not running, and
  5. Scheduled job.

If none of these tell you how to solve your problem, give us a lot more details:

  1. What OS are you using?
  2. What is the script being run by the cron job?
  3. What is the entry in your crontab file that kicks off your cron job?

I found that out using Grep command. Other jobs in the crob are working fine automatically.

grep ? What did you find out with grep ? Again, show the context of your problem as requested above.