title: How to execute tasks in Celery using datetime from MySQL?
body: <p>News are stored in database MySQL with <code>datetime</code> of publication.</p>
  
  <p>Any time user can add a new in the table with delay date publishing.</p>
  
  <p>How to use Celery for listeting database table and check if it is time to publish data?</p>
  
  <p>For publishing data is responsible another process(script Python). So Celery should call this script for each rows in MySQL table according <code>datetime</code>.</p>
  
  <p>How to do that using Celery?</p>
  
  <p>Another way I think to create queue with <code>date</code> and <code>id</code> of publication then directly add data from user form in this queue. Therefore sholud be process(Celery) that observes a queue for further executing tasks by date.</p>
  
  <p>Celery provides documentation for Periodic tasks and Scheduled tasks, but there is no explanation and example how to use it.</p>
  
  <p>Sorry if question is trivial, I am a newcomer in Python Celery.</p>