apps.beat

Beat command-line program.

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.

Module Contents

Classes

Beat(self,max_interval=None,app=None,socket_timeout=30,pidfile=None,no_color=None,loglevel=”WARN”,logfile=None,schedule=None,scheduler=None,scheduler_cls=None,redirect_stdouts=None,redirect_stdouts_level=None,**kwargs) Beat as a service.
class Beat(max_interval=None, app=None, socket_timeout=30, pidfile=None, no_color=None, loglevel="WARN", logfile=None, schedule=None, scheduler=None, scheduler_cls=None, redirect_stdouts=None, redirect_stdouts_level=None, **kwargs)

Beat as a service.

__init__(max_interval=None, app=None, socket_timeout=30, pidfile=None, no_color=None, loglevel="WARN", logfile=None, schedule=None, scheduler=None, scheduler_cls=None, redirect_stdouts=None, redirect_stdouts_level=None, **kwargs)
run()
setup_logging(colorize=None)
start_scheduler()
banner(service)
init_loader()
startup_info(service)
set_process_title()
install_sync_handler(service)

Install a SIGTERM + SIGINT handler saving the schedule.