title: Replacing Celery Beat "CELERYBEAT_SCHEDULE" with a dynamic source (database)
body: <p>In the <a href="http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html#beat-entries" rel="nofollow">Celery docs</a>, the standard way to set the schedule of tasks is documented as hardcoding the schedule into the config file.</p>
  
  <p>However, it also hints that this can be replaced with a custom backend. I see there is a dynamic, database driven option for Django but I'm using a simple Flask app to define my tasks.</p>
  
  <p>Does anyone have a way to dynamically load the schedule, avoiding the need to restart the celery beat worker, either by dynamically pulling the schedule from a database or by reloading the schedule from a text file on a regular basis? Is it as simple as putting a <code>reload()</code> call around the schedule in a text file, perhaps even as its own scheduled celery task?</p>