This document is for Celery's development version, which can be
significantly different from previous releases. Get old docs here:
2.5.
celery.bin.celerybeat
celerybeat
-
--detach
Detach and run in the background as a daemon.
-
-s, --schedule
Path to the schedule database. Defaults to celerybeat-schedule.
The extension ”.db” may be appended to the filename.
Default is %(default)s.
-
-S, --scheduler
Scheduler class to use.
Default is celery.beat.PersistentScheduler.
-
-interval
Max seconds to sleep between schedule iterations.
-
-f, --logfile
Path to log file. If no logfile is specified, stderr is used.
-
-l, --loglevel
Logging level, choose between DEBUG, INFO, WARNING,
ERROR, CRITICAL, or FATAL.
-
class celery.bin.celerybeat.BeatCommand(app=None, get_app=None)
-
doc = 'celerybeat\n\n.. program:: celerybeat\n\n.. seealso::\n\n See :ref:`preload-options` and :ref:`daemon-options`.\n\n.. cmdoption:: --detach\n\n Detach and run in the background as a daemon.\n\n.. cmdoption:: -s, --schedule\n\n Path to the schedule database. Defaults to `celerybeat-schedule`.\n The extension ".db" may be appended to the filename.\n Default is %(default)s.\n\n.. cmdoption:: -S, --scheduler\n\n Scheduler class to use.\n Default is :class:`celery.beat.PersistentScheduler`.\n\n.. cmdoption:: max-interval\n\n Max seconds to sleep between schedule iterations.\n\n.. cmdoption:: -f, --logfile\n\n Path to log file. If no logfile is specified, `stderr` is used.\n\n.. cmdoption:: -l, --loglevel\n\n Logging level, choose between `DEBUG`, `INFO`, `WARNING`,\n `ERROR`, `CRITICAL`, or `FATAL`.\n\n'
-
enable_config_from_cmdline = True
-
get_options()
-
preload_options = (<Option at 0x10af3fdd0: --app>, <Option at 0x10af3ff80: -b/--broker>, <Option at 0x10af3fe60: --loader>, <Option at 0x10af3fef0: --config>, <Option at 0x10b275998: -f/--logfile>, <Option at 0x10b275b48: --pidfile>, <Option at 0x10b27a3f8: --uid>, <Option at 0x10b27a098: --gid>, <Option at 0x10b280e18: --umask>, <Option at 0x102d9cdd0: --workdir>)
-
prepare_preload_options(options)
-
run(detach=False, logfile=None, pidfile=None, uid=None, gid=None, umask=None, working_directory=None, **kwargs)
-
supports_args = False
-
celery.bin.celerybeat.main()