I created a new scheduled job. It runs when I'm active in admin mode. However, when I log out and check after some time the scheduled job seems to have disrupted. It actually runs for few times as per the scheduled interval and then stops abruptly which can be seen after logging in again. More over it shows the following warning message:
"The EPiServer Scheduler Service does not appear to be active, it may have been stopped. Next job 'Some Job' should have been executed.".
Whats the reason for this disruption of my scheduled job and how to overcome this.
The error message usually means that the Service is not installed or has crasched or been stopped. If you look under "Services" in Computer Management, can you see the EPiServer Scheduler Service listed? If so, what's it status?
The "EPiServer Scheduled Service" is listed and its in "Started" status.
Do you know if the R2 hotfix is applied to the site? It contains bug fixes for the scheduled tasks.
Thanks Johan, I'll check it.
Some helpful links:
The scheduling must also be enabled in the EPiServer.config file. Find the attribute defined by the XPath expression below and set it to "true".
In a load balanced environment it is strongly suggested that this is done on only one of the servers.
EPiServer will also stop and display an error message if any scheduled date is in past time. I.e. the date < current time.
The message you receive is something like "The EPiServer Scheduler Service does not appear to be active, it may have been stopped. Next job "Arkivfunktion" should have been executed 2014-01-01 01:01:01".
This message refuses to go away even if the scheduling service is happily chugging away when you look at it in Services.
Go through all the scheduled items in EPiServer and adjust the dates to be in the (near or far) future and it should fix it.
If you still get the error message, you can adjust the dates in the SQL table tblScheduledItem since not all scheduled tasks are displayed in the HTML based administration interface.
This has helped me and I hope that it can help you too.
Some things to check are:
Hope this helps!