Bug #668
[dbscripts] use set -ex and cronic in all cron jobs
Status:
fixed
Priority:
critical
Assignee:
% Done:
100%
Description
They fail and we ignore their failures. We should use set -ex
in all cron jobs so maintenance mails about their failures show what exactly fails, and use cronic to get these mails only if a script fail.
History
Updated by lukeshu over 7 years ago
- Category deleted (
dbscripts cleanup) - Project changed from libretools to dbscripts
Updated by lukeshu over 5 years ago
- % Done changed from 0 to 90
For some time we were using cronic for everything, but we have since moved to systemd timers. Now everything is logged to the systemd journal.
Timers:db-cleanup.timer
: I'd say it does enough loggingdb-import@.timer
: has adequate loggingmake_repo_torrents.timer
: needs reviewupdate-lastsync.timer
: has adequate logging (is trivial)
Updated by lukeshu over 5 years ago
make_repo_torrents
wasn't even exiting non-zero if there was an error. Should be fixed in git now.
Updated by lukeshu over 5 years ago
- % Done changed from 90 to 100
- Status changed from open to fixed