title: How to set environment variables or inputs in timerTrigger Azure Functions?
body: <p>I am trying to setup a <code>timerTrigger</code> azure function</p>
  
  <p>My <code>function.json</code>:</p>
  
  <pre><code>{
      "disabled": false,
      "bindings": [
          {
              "type": "timerTrigger",
              "direction": "in",
              "name": "sampleCronTrigger",
              "schedule": "*/5 * * * * *",
          }
      ],
      "entryPoint": "sampleCron",
      "scriptFile": "index.js"
  }
  </code></pre>
  
  <p>In this I need to set an environment variable, but I am not able to do so. I tried looking for some documentation but couldn't find anything which doesn't require some setup on the Azure console?</p>
  
  <p>I can I define environment variables? Or If here is any way I can pass an input to the function, that works too.</p>