Azure webJob调度程序错误

时间:2014-04-02 11:32:26

标签: azure scheduler

我有一个简单的bat文件,它调用一个aspx页面。 我压缩了bat文件并将其上传到azure webjobs上。该网站上传到天蓝色,数据库也在天蓝色上。问题是我无法使用Web作业,错误日志如下。请帮忙

    [04/02/2014 11:22:51 > 439c50: SYS INFO] Status changed to Initializing
    [04/02/2014 11:22:51 > 439c50: SYS INFO] Run script 'schedularGiveScheduledAwards.bat' with script host - 'WindowsScriptHost'
    [04/02/2014 11:22:51 > 439c50: SYS INFO] Status changed to Running
    [04/02/2014 11:22:51 > 439c50: ERR ] The system cannot find the path specified.
    [04/02/2014 11:22:51 > 439c50: INFO] 
    [04/02/2014 11:22:51 > 439c50: INFO] C:\DWASFiles\Sites\testblinkawards\Temp\jobs\triggered\ondemand\qni4mbbd.jj4>"c:\Program Files\Internet Explorer\iexplore.exe" http://testblinkawards.azurewebsites.net/GiveScheduledAwards.aspx 
    [04/02/2014 11:22:51 > 439c50: SYS INFO] Status changed to Failed
    [04/02/2014 11:22:51 > 439c50: SYS ERR ] Job failed due to exit code 1

1 个答案:

答案 0 :(得分:3)

您无法在Azure网站中使用 Internet Explorer

如果您只想ping网址(甚至获取响应),可以使用curlhttp://en.wikipedia.org/wiki/CURL

使用调试控制台来试用您的命令:http://blogs.msdn.com/b/windowsazure/archive/2014/03/04/windows-azure-websites-online-tools-you-should-know-about.aspx