Actually, /etc/cron.d/ is part of Linux Standards Base Core Specification 4.0. http://refspecs.linux-foundation.org/LSB_4.0.0/LSB- Core-generic/LSB-Core-generic/etc.html
Yes, .dpkg-* are ignored for a reason, but that also ignores the LSB FHS. If you installed the lsb packages and expect a Linux Standards Base system, then `run-parts --verbose --lsbsysinit /etc/cron.hourly/` should accept `org.debian.my.cron.job.sh` and `debian.org-cron.job.with.dots.sh` and `job.cron` and other filenames with dots. http://manpages.ubuntu.com/manpages/trusty/en/man8/run-parts.8.html If the --lsbsysinit option is given, then the names must not end in .dpkg-old or .dpkg-dist or .dpkg-new or .dpkg-tmp, and must belong to one or more of the following namespaces: the LANANA-assigned namespace (^[a-z0-9]+$); the LSB hierarchical and reserved namespaces (^_?([a-z0-9_.]+-)+[a-z0-9]+$); and the Debian cron script namespace (^[a-zA-Z0-9_-]+$). http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/etc.html#FHS-NAME-RULES -Linux assigned names says to use dns.name.com names when you do not have a registered name for a particular project. http://www.lanana.org/lsbreg/cron/index.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cron in Ubuntu. https://bugs.launchpad.net/bugs/706565 Title: configs with dots in file name not working in /etc/cron.d Status in “cron” package in Ubuntu: Confirmed Bug description: Binary package hint: cron I configured cron jobs with config file: /etc/cron.d/job.cron and it not working. I spend couple of hours to understand the problem. Fix is to rename file withowt dots in the name: /etc/cron.d/job is working. Renaming back to job.cron or other name with the dot in the name cause cron to not read this file. I just switched to Ubuntu Server from Fedora and it works before on those distributive. I can't find any error messages in syslog event with -L9 command line in cron daemon. I can't find any warning in man page or readme document about file names. I think there are 2 possible ways to fix this: 1) put a WARNING about file names with dots (like "myjob.cron") in manpage; 2) make cron working with those files as other distro do (ex. Fedora) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cron/+bug/706565/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp