Files
oam/knowledge base/cron.md
2023-04-10 19:08:54 +02:00

812 B

Title

Table of contents

  1. TL:DR
  2. Further readings
  3. Sources

TL:DR

Files in /etc/cron.hourly and similar need to:

  • be executable,
  • match the Debian cron script namespace (^[a-zA-Z0-9_-]+$, so script with an extension won't work).
# Print the names of the scripts which would be invoked.
sudo run-parts --report --test '/etc/cron.hourly'

Further readings

Sources

All the references in the further readings section, plus the following: