bitkarrot/scheduler

Add logging to scheduler

Closed this issue · 1 comments

  • Add crontab loggin on backend
  • Add crontab logging visibility on front end

added sample log handler https://github.com/bitkarrot/scheduler/blob/main/log_handler.py
added test for sample log handler in test file at

response = await ch.new_job(f"/usr/bin/python3 {dir_path}/../log_handler.py", "* * * * *", comment=comment)

This log handler will output the log file to 'test_log.log' as specified in script