Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit code is 0 on exception #99

Open
palfrey opened this issue Jul 13, 2019 · 0 comments · May be fixed by #100
Open

Exit code is 0 on exception #99

palfrey opened this issue Jul 13, 2019 · 0 comments · May be fixed by #100

Comments

@palfrey
Copy link

palfrey commented Jul 13, 2019

Environment & Versions

  • Operating system: Debian
  • Python: 2.7
  • Django: 1.11
  • django-crontab: 0.7.1

Details

When my cron job throws an exception, "Failed to complete cronjob at " is logged, but the exit code is still zero, which meant I wasn't getting emails from cron. It would be really useful to indicate the failure/success state with this. Thanks!

@palfrey palfrey linked a pull request Jul 20, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant