Files
oam/knowledge base/cron.md
2023-07-09 18:17:32 +02:00

588 B

Title

Table of contents

  1. TL;DR
  2. 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'

Sources