On Fri, Jul 31, 2015 at 7:26 PM, thinkwell <thinkwelldesigns@gmail.com> wrote:
> a_long_task.spool({'hello':'world', 'at':timedelta(hours=5))
the 'at' parameter should be _outside_ the callable dictionay, and it
must be the unix timestamp, not a timedelta:
a_long_task.spool({'hello':'world'},
at=(datetime.now()+timedelta(hours=5).timestamp())
--
Javier
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFkDaoRb1atmAYFafHBrPC%2BNYdVO0T%2BY%2Bf5v3tHZ821PVXG5Ow%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment