dcron
dcron copied to clipboard
Changes to make dcron more Docker friendly
Some changes to make dcron more Docker friendly.
- Added a fix for EPERM issues when in foreground and already being PID 1.
- Fix a readability issue.
- Added signal handling for SIGINT, SIGTERM and SIGQUIT.
- Added option to create per-user crontabs and timestamp directories, so /var/spool/cron can easily be configured as a volume.
- Extended -m option to also be a file. When a file the email address is read from the file. So the email address can easily be configured from a generic Docker volume containing config and secret files.