Try our conversational search powered by Generative AI!

Automatic Run scheduled job on a specific time every day


Hi ,

Please Help!  
I have created a scheduled job in EPiServer 6.0 programatically(below is my code).After exectuing below code, job with name  MyJob has created in Episerver.
When i clicks on run manually button, job runs fine and job execution details enters correctly in episerver database table tblScheduledItem. The LastExecution and NextExecution datetime details enters in tblScheduledItem table in UTC datetime format not in my system's datetime format (i.e. GMT+5:30).

I clicked on Active checkbox and enabled the job and set the Next Schedule datetime two minutes ahead of my system's current datetime and finally click on save button. One message appears Settings has been saved . Now i wait for two minuts to run the job autamatic after two minute , but my job did not run on saved time interval.

The problem is coming, job is not running on scheduled time interval.  

[ScheduledPlugIn(DisplayName = "MyJob", Description = "test job", SortIndex = 1)]

public class MySecondJob
public static void Execute()
Console.Write("Your Job Executed ");

Please Help! 

Jun 01, 2017 9:06

Is the Episerver Scheduler Windows service installed and running on the machine you are testing on?

Jun 14, 2017 23:57

Yes ,Episerver Scheduler Windows service installed and running on the machine i m testing on

Jun 15, 2017 9:32

So there's no error message in the History tab for the scheduled job? 

There might be other queued jobs in tblScheduledItem that prevents your job from starting.

Have a look at the troubleshooting suggestions at

If clearing the queue doesn't help, you might want to add more logging to see where the scheduler service stops:

Jun 15, 2017 10:27

Like I wrote on that SO post... 

If your tblScheduledItem is missing the column SecondsAfterLastPing you should apply this hotfix:

Otherwise all scheduling can stop completely and never recover.

Jun 15, 2017 10:44
* 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.