celery.apps.beat

    It does everything necessary to run that module as an actual application, like installing signal handlers and so on.

    class celery.apps.beat.Beat(max_interval=None, app=None, socket_timeout=30, pidfile=None, no_color=None, loglevel=None, logfile=None, schedule=None, scheduler_cls=None, redirect_stdouts=None, redirect_stdouts_level=None, \*kwargs*)

    • class Service(app, max_interval=None, schedule_filename=None, scheduler_cls=None)

      • get_scheduler(lazy=False)

      • scheduler None

      • start(embedded_process=False)

      • stop(wait=False)

      • sync()

    • Beat.app = None

    • Beat.run()[源代码]

    • Beat.set_process_title()

    • Beat.setup_logging(colorize=None)[源代码]

    • Beat.startup_info(beat)