Celerybeat issues crontab'ed task on invalid date after USE_TZ value changed
<p>A celery task defined to be run once a month using celerybeat</p>

<pre><code>run_every = crontab(minute=0, hour=5, day_of_month=1)
</code></pre>

<p>is run immediately (on the 17th) when we switched from</p>

<pre><code>USE_TZ = False
</code></pre>

<p>to</p>

<pre><code>USE_TZ = True
</code></pre>

<p>Does anyone know a reason for this behaviour?
How can we prevent that in the future?</p>

<p>Thanks</p>