lilspikey / django-background-task

A database-backed work queue for Django
BSD 3-Clause "New" or "Revised" License
107 stars 207 forks source link

cannot run task after 60 seconds #10

Open yspanchal opened 10 years ago

yspanchal commented 10 years ago

i configure task to be run after 60 seconds, but in database it shows wrong time & task is not running after 60 seconds. @background(schedule=60)

lilspikey commented 10 years ago

Hi,

my guess is that this is timezone related. I originally wrote background task, before Django added timezone aware datetime support.

What time does the database show? What time do you expect to see?

cheers,

John