Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(44)  |  Call(6)  |  Derive(25)  |  Import(13)
Scheduler for periodic tasks.

The :program:`celery beat` program may instantiate this class
multiple times for introspection purposes, but then with the
``lazy`` argument set.  It is important for subclasses to
be idempotent when this argument is set.

:keyword schedule: see :attr:`schedule`.
:keyword max_interval: see :attr:`max_interval`.
:keyword lazy: Do not set up the schedule.

src/i/n/input-lib-HEAD/packages/celery/celery/tests/test_beat.py   input-lib(Download)
    def setUp(self):
        self.registry = TaskRegistry()
        self.registry.register(DuePeriodicTask)
        self.registry.register(PendingPeriodicTask)
        self.scheduler = beat.Scheduler(self.registry,
                                        max_interval=0.0001,
                                        logger=log.get_default_logger())
 
    def test_constructor(self):
        s = beat.Scheduler()

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/djcelery/schedulers.py   antisocial(Download)
from celery import current_app
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from celery.utils.timeutils import is_naive
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/djcelery/schedulers.py   socorro(Download)
from anyjson import deserialize, serialize
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from kombu.utils.finalize import Finalize
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/djcelery/schedulers.py   firefox-flicks(Download)
from celery import current_app
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from celery.utils.timeutils import is_naive
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/o/h/oh-mainline-HEAD/vendor/packages/django-celery/djcelery/schedulers.py   oh-mainline(Download)
 
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
 
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/m/o/mozillians-HEAD/vendor-local/lib/python/djcelery/schedulers.py   mozillians(Download)
from anyjson import deserialize, serialize
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from kombu.utils.finalize import Finalize
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/m/a/make.mozilla.org-HEAD/vendor-local/lib/python/djcelery/schedulers.py   make.mozilla.org(Download)
from anyjson import deserialize, serialize
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from kombu.utils.finalize import Finalize
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/p/l/playdoh-lib-HEAD/lib/python/djcelery/schedulers.py   playdoh-lib(Download)
from anyjson import deserialize, serialize
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from kombu.utils.finalize import Finalize
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/k/u/kuma-lib-HEAD/packages/django-celery/djcelery/schedulers.py   kuma-lib(Download)
from anyjson import deserialize, serialize
from celery import schedules
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.encoding import safe_str, safe_repr
from kombu.utils.finalize import Finalize
class DatabaseScheduler(Scheduler):
    Entry = ModelEntry
    Model = PeriodicTask
    Changes = PeriodicTasks
    _schedule = None

src/c/e/celerybeat-mongo-0.0.2/celerybeatmongo/schedulers.py   celerybeat-mongo(Download)
 
from celerybeatmongo.models import *
from celery.beat import Scheduler, ScheduleEntry
from celery.utils.log import get_logger
from celery import current_app
class MongoScheduler(Scheduler):
 
 
    # how often should we sync in schedule information
    # from the backend mongo database

  1 | 2 | 3  Next