We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b67463 commit e950d74Copy full SHA for e950d74
1 file changed
src/index.py
@@ -29,10 +29,8 @@ def get(self):
29
30
31
if __name__ == "__main__":
32
- from tornado.options import options
33
-
34
logger = logging.getLogger("routine")
35
+ options.parse_command_line()
36
if not options.debug and options.prod:
37
crontab("0 0 * * *", func=run_routine, start=True)
38
logger.info("Crontab configured successfully.")
0 commit comments