Try our conversational search powered by Generative AI!

Scheduled jobs not running automatically

Vote:
 

Having followed http://world.episerver.com/FAQ/Items/Scheduler-does-not-run-scheduled-jobs-automatically/ the scheduled job is still not running automatically, but will run manually. There are no messages within the CMS to help resolve the issue.

#51483
Jun 09, 2011 17:50
Vote:
 

If a job is stopped/crashes at the wrong moment in the wrong way (I don't know the details...), like if the application pool recycles, it could end with its future run date set to the past. This seems to stop the scheduler completely. If you update the dates so that the next run dates are in the future the jobs should start running again. In CMS 6 R2 there is a new watchdog function which handles this for you.

However, if i remember correctly, starting the job manually should also fix this, so it might not be the same problem after all. But check the time of all your jobs just in case.

#51489
Jun 10, 2011 7:28
Vote:
 

Have a look at below blog post to debug the scheuduler and see whats going wrong in it.


http://world.episerver.com/Blogs/Tobias-Nilsson/Dates/2010/12/Troubleshooting-the-Scheduler/ 

#51495
Jun 10, 2011 9:39
Vote:
 

You could check the database table dbo.tblScheduledItem in your EPi database. Usually the job that is blockin the queue has the IsRunning value true in the database. Run the corresponding job manually from admin-mode, and make sure it runs successfully. Then recheck the database and the state should now be false (0). All the queued jobs should now be executing correctly.

this usually works like a charm
/Torbjörn

#51547
Jun 14, 2011 15:22
Vote:
 

TorbjörnB's description was what helped me get things running again.

On a side note this bug is extremely disappointing and just caused a million problems for me.

#55497
Dec 05, 2011 17:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.