Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 475 Bytes

cron.md

File metadata and controls

5 lines (5 loc) · 475 Bytes
  1. Crons follow rule of silence (When a program has nothing surprising, interesting or useful to say, it should say nothing Don't produce any stdout when your cron'ed application completes successfully.)
  2. Don't pipe any output to /dev/null.
  3. Do produce meaningful stderr output when something goes wrong.
  4. Do set a $MAILTO address in the crontab to send that error output to the required team.
  5. Do call "logger" along with writing to stderr when something goes wrong.