How to use 'django celery beat' in Python

Every line of 'django celery beat' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
36def __init__(self, max_interval=None, app=None,
37 socket_timeout=30, pidfile=None, **kwargs):
38 """Starts the celerybeat task scheduler."""
39 self.app = app = app_or_default(app)
40 self.setup_defaults(kwargs, namespace="celerybeat")
41
42 self.max_interval = max_interval
43 self.socket_timeout = socket_timeout
44 self.colored = app.log.colored(self.logfile)
45 self.pidfile = pidfile
46
47 if not isinstance(self.loglevel, int):
48 self.loglevel = LOG_LEVELS[self.loglevel.upper()]

Related snippets