sankalpjonn / timeloop

An elegant periodic task executor
MIT License
245 stars 49 forks source link

Stop on Exception Parameter #11

Open guilhermesperb opened 4 years ago

guilhermesperb commented 4 years ago

some jobs shouldn't stop if exception occured

MediumBrownToast commented 4 years ago

I was unable to get this to work. I replaced both files with your commits but programs that stopped with an exception never tried to run again.

Do I need to do anything else? Thanks

edit: sorry, it is in fact working fine when I run from the command line. When I run the same script from a systemd service the job fails to execute again.

edit2: ok, it was because I am an idiot and wasn't handling the exceptions gracefully within my program.