Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ def get(self):


if __name__ == "__main__":
from tornado.options import options

logger = logging.getLogger("routine")

options.parse_command_line()
if not options.debug and options.prod:
crontab("0 0 * * *", func=run_routine, start=True)
logger.info("Crontab configured successfully.")
Expand Down