title: Azure WebJob timeout configuration settings
body: <p>We have an Azure web site with a daily scheduled job. In our case, the scheduled job runs a stored procedure that takes about 10 minutes so there is no local processing. Our web job is terminating after about 4 minutes with this error.</p>
  
  <pre><code>Command 'cmd /c ...' aborted due to no output and CPU activity for 121 seconds.
  You may increase SCM_COMMAND_IDLE_TIMEOUT setting to solve the issue.
  </code></pre>
  
  <p>We've tried adding the following app settings to the web job's app.config file:</p>
  
  <pre><code>&lt;appSettings&gt;
      &lt;add key="SCM_COMMAND_IDLE_TIMEOUT" value="100000" /&gt;
      &lt;add key="WEBJOBS_IDLE_TIMEOUT" value="100000" /&gt;
  &lt;/appSettings&gt;
  </code></pre>
  
  <p>Those files are referenced in this document <a href="https://github.com/projectkudu/kudu/wiki/Web-jobs">https://github.com/projectkudu/kudu/wiki/Web-jobs</a> but they don't seem to have any effect. (still timing out after adding the settings to the app.config file)</p>
  
  <p>Are we adding the configuration settings to the right place?</p>
  
  <p>Thanks for the help.</p>