Actions
action #165030
closed(Cron Daemon) sending email about /opt/openqa-scripts/dump-psql
Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2024-08-07
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
Following a conversation in Slack @nicksinger enabled emails for cron jobs. Now we're getting emails from (Cron Daemon) such as this:
removed '/var/lib/openqa/SQL-DUMPS/2024-07-28.dump'
Suggestions¶
Confirm why we are getting an email about removed database dumpsDONE: because cron sends a mail for every script which generates anything on stdout - no matter the exit code of the script- Switch off notifications of such removals if they are expected
Updated by livdywan 4 months ago
- Copied from action #165027: (Cron Daemon) sending email about /usr/bin/dehydrated --cron added
Updated by nicksinger 4 months ago
- Status changed from New to In Progress
- Assignee set to nicksinger
Updated by nicksinger 4 months ago
- Status changed from Feedback to Resolved
Merged and deployed on o3 by:
su o3-openqa-scripts
cd /opt/openqa-scripts
git pull --set-upstream origin main
it should now only output anything if errors happen and not if the operation completed successfully.
Actions