kovshenin/sail

Cron doesn't work on namespaces with dots

Closed this issue · 0 comments

/etc/cron.d/example.com will not get picked up by the cron daemon because:

Any file that does not conform to these requirements will not be executed by  run-
parts.   For  example,  any file containing dots will be ignored.  This is done to prevent
cron from running any of the files that are left by the Debian package  management  system
when  handling  files  in /etc/cron.d/ as configuration files (i.e. files ending in .dpkg-
dist, .dpkg-orig, .dpkg-old, and .dpkg-new).

The cron config file should be created with an _ instead. Oooorrr md5.