Explorar o código

celerybeat now supports command line configuration

Ask Solem %!s(int64=13) %!d(string=hai) anos
pai
achega
25e38e0440
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      celery/bin/celerybeat.py

+ 1 - 0
celery/bin/celerybeat.py

@@ -38,6 +38,7 @@ from .base import Command, Option, daemon_options
 
 
 class BeatCommand(Command):
+    enable_config_from_cmdline = True
     supports_args = False
     preload_options = (Command.preload_options
                      + daemon_options(default_pidfile="celerybeat.pid"))