A timer job's schedule type is changed from yearly to hourly after running it

%3CLINGO-SUB%20id%3D%22lingo-sub-2842335%22%20slang%3D%22en-US%22%3EA%20timer%20job's%20schedule%20type%20is%20changed%20from%20yearly%20to%20hourly%20after%20running%20it%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2842335%22%20slang%3D%22en-US%22%3E%3CP%3EHello.%3C%2FP%3E%3CP%3EA%20timer%20job's%20schedule%20type%20is%20changed%20from%20yearly%20to%20hourly%20after%20running%20it%20on%20SharePoint%20Server%202019.%3C%2FP%3E%3CP%3EHow%20can%20I%20prevent%20this%3F%3C%2FP%3E%3CP%3EWith%20best%20regards%2C%20Vasily%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2842335%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Hello.

A timer job's schedule type is changed from yearly to hourly after running it on SharePoint Server 2019.

How can I prevent this?

I have a custom timer job with a yearly schedule (SPYearlySchedule). After I deploy it, its Schedule Type listed under Job Definitions in Central Admin is shown as Yearly as expected. However, if I manually run this timer job (by clicking "Run Now"), the Schedule Type for the job is immediately changed to Hourly - and indeed the job will run every hour after this, instead of every year.

With best regards, Vasily

0 Replies