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

Send mail on error #5

Open
MichaelCurrin opened this issue Jan 5, 2020 · 3 comments
Open

Send mail on error #5

MichaelCurrin opened this issue Jan 5, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@MichaelCurrin
Copy link
Owner

Use system mail. Check if is the same on mac and linux

Include script output - all of it.

Send one mail for each failure. Although noisy it helps to see a pattern. Create an issue for aggregating more than X errors into one email with count in subject. If that is even needed. As failure rate is expected to be low.

@MichaelCurrin
Copy link
Owner Author

See Thunderbird instructions I wrote and see mac alternative. It is the easy to keep mail program and send sounds

@MichaelCurrin
Copy link
Owner Author

@MichaelCurrin MichaelCurrin pinned this issue Jan 7, 2020
@MichaelCurrin
Copy link
Owner Author

First pass could be to send all errors on same cron run. This could be actual output of main app, later can include links to task logs

Make crontab entry write out on error and hide output, conditionally.

All this avoids sending mail within the script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant