Files
oam/knowledge base/cron.md

800 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: