This document describes the current stable version of Celery (3.1). For development docs,
go here.
celery.utils.timer2
Scheduler for Python functions.
-
class celery.utils.timer2.Entry(fun, args=None, kwargs=None)
-
args
-
cancel()
-
cancelled
-
fun
-
kwargs
-
tref
-
celery.utils.timer2.Schedule
alias of Timer
-
class celery.utils.timer2.Timer(schedule=None, on_error=None, on_tick=None, on_start=None, max_interval=None, **kwargs)[source]
-
class Entry(fun, args=None, kwargs=None)
-
args
-
cancel()
-
cancelled
-
fun
-
kwargs
-
tref
-
Timer.Schedule
alias of Timer
-
Timer.call_after(*args, **kwargs)[source]
-
Timer.call_at(*args, **kwargs)[source]
-
Timer.call_repeatedly(*args, **kwargs)[source]
-
Timer.cancel(tref)[source]
-
Timer.clear()[source]
-
Timer.empty()[source]
-
Timer.ensure_started()[source]
-
Timer.enter(entry, eta, priority=None)[source]
-
Timer.enter_after(*args, **kwargs)[source]
-
Timer.exit_after(secs, priority=10)[source]
-
Timer.next()
-
Timer.on_tick = None
-
Timer.queue[source]
-
Timer.run()[source]
-
Timer.running = False
-
Timer.stop()[source]
-
celery.utils.timer2.to_timestamp(d, default_timezone=<UTC>)