Apr 13 2017 03:05 AM - edited Apr 13 2017 03:05 AM
Hi,
we have difficulties with the scheduled web job. When we start the job, the jobs runs and in the log file we see it ends. But the job itseld keeps running untill time out of the job as configured in the web app settings.
Did anyone else had this issue and knows how to solve it?
Thanks in advance
Regards,
Koen
Apr 15 2017 10:46 AM
Would need some more info on your solution. is it CSOM or Powershell? on premm or online provisioning etc.
Apr 17 2017 07:28 AM
Hi,
it is CSOM. The web job is hosted on an Azure Web app and provisions sites for SharePoint Online. The jobs provisions the sites in the queue, but it seems not to stop running once it has finished its actions.
In the log file I can see:
[01/20/2017 12:26:37 > cdca22: INFO]
[01/20/2017 12:26:37 > cdca22: INFO] Ending job
But when I look at the state of the job it keeps 'running' and after a while it wil abort because of the web job time out settings defined ine the web app's app settings.
Thanks in advance!