title: Crontab / Running cronjob on first sunday in month
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3241086/cron-how-to-schedule-to-run-first-sunday-of-every-month">cron : how to schedule to run first Sunday of every month</a>  </p>
  </blockquote>
  
  
  
  <p>I want to execute a php script on every first sunday in month at 7 am . I entered the following line in the servers crontab.</p>
  
  <pre><code>0 7 1-7 * 0      user /path/to/script.php
  </code></pre>
  
  <p>Today I saw that the script did run on wednesday morning. How could that happen? I thought that the last <code>0</code> defines sunday?</p>
  
  <p>Thanks for your help in advanced.</p>