Returning timer job status from custom timer job
-
10-10-2019 - |
Question
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)
OTHER TIPS
SPJobDefinition.UpdateProgress
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow