I experimented with WebJobs over the weekend, and my console app worked fine - until today. It started failing with this error message on the log page:
[03/26/2014 19:21:30 > 8fa263: SYS INFO] Status changed to Initializing
[03/26/2014 19:21:31 > 8fa263: SYS INFO] Run script 'IncidentPoll.exe' with script host - 'WindowsScriptHost'
[03/26/2014 19:21:31 > 8fa263: SYS INFO] Status changed to Running
[03/26/2014 19:21:31 > 8fa263: ERR ] 'IncidentPoll.exe' is not recognized as an internal or external command,
[03/26/2014 19:21:31 > 8fa263: ERR ] operable program or batch file.
[03/26/2014 19:21:31 > 8fa263: SYS INFO] Status changed to Failed
[03/26/2014 19:21:31 > 8fa263: SYS ERR ] Job failed due to exit code 1
I didn't change anything this morning. So I'm wondering if there's a policy change that occurred since last weekend?
EDIT: This webjob, is under the Websites Free tier. It was scheduled to fire every 10 minutes. Could it be because they (Microsoft) found this as a loophole? They also have a (dedicated) Scheduler Service (preview), in which under the Free tier, the maximum frequency that you can run is once per hour.
IncidentPoll.exe
) doesn't exist but since it should, can you verify whether it's in the following directories:d:\home\site\wwwroot\App_Data\jobs\triggered\{jobname}
and%temp%\jobs\triggered\{jobname}\{somerandomname}
, you can use DebugConsole tool on your scm site (https://{sitename}.scm.azurewebsites.net) more information on that in blogs.msdn.com/b/windowsazure/archive/2014/03/04/… – Amit Apple