This document describes the current stable version of Celery (3.1). For development docs, go here.

celery.apps.beat

celery.apps.beat

This module is the ‘program-version’ of celery.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)[source]
class Service(app, max_interval=None, schedule_filename=None, scheduler_cls=None)
get_scheduler(lazy=False)
scheduler
scheduler_cls

alias of PersistentScheduler

start(embedded_process=False)
stop(wait=False)
sync()
Beat.app = None
Beat.init_loader()[source]
Beat.install_sync_handler(beat)[source]

Install a SIGTERM + SIGINT handler that saves the beat schedule.

Beat.run()[source]
Beat.set_process_title()[source]
Beat.setup_logging(colorize=None)[source]
Beat.start_scheduler()[source]
Beat.startup_info(beat)[source]

Previous topic

celery.apps.worker

Next topic

celery.worker

This Page