title: Spring Scheduled tasks: specifying time zone in XML configuration
body: <p>Is it possible to achieve the time zone setting in XML configuration as done in Java with the following annotation?</p>
  
  <pre><code>@Scheduled(cron = "0 0 8,20 * * *", zone = "GMT-3")
  </code></pre>
  
  <p>I can't see any other attributes in XML definition, but perhaps there's a workaround for achieving the desired goal.</p>
  
  <p>Sample config:</p>
  
  <pre><code>&lt;task:scheduler id="myScheduler" pool-size="2" /&gt;
  &lt;bean class="MyClass"
      id="myBean" /&gt;
  &lt;task:scheduled-tasks scheduler="myScheduler"&gt;
      &lt;task:scheduled ref="myBean" method="gprs" fixed-rate="300000" /&gt;
      &lt;task:scheduled ref="myBean" method="reporteGpsGprs" cron="0 0 8,20 * * *" /&gt;
  &lt;/task:scheduled-tasks&gt;
  </code></pre>
  
  <p>Current Spring Dependencies: </p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
          &lt;version&gt;4.2.2.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
          &lt;version&gt;4.2.2.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context-support&lt;/artifactId&gt;
          &lt;version&gt;4.2.2.RELEASE&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>