Files
oam/knowledge base/cron.md
Michele Cereda d42f25f1be fix: typo
2023-05-24 19:56:38 +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: