Search code examples
sharepointtimer-jobs

Returning timer job status from custom timer job


There is a timer job status page in Central Admin
/_admin/ServiceRunningJobs.aspx

How can I properly return the status for my custom timer job ?

The Execute() method of timer job returns void.


Solution

  • It either fails (Exception) or succeeds (Method completes)