Skip to content

Instantly share code, notes, and snippets.

@danielestevez
Last active March 9, 2023 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielestevez/c8dca2b4e20b22956d53704e012c1c17 to your computer and use it in GitHub Desktop.
Save danielestevez/c8dca2b4e20b22956d53704e012c1c17 to your computer and use it in GitHub Desktop.
CRON related stufff
  • Redirect output to a log file
    01 14 * * * /home/joe/myscript >> /home/log/myscript.log 2>&1
     tail -f /var/log/syslog | grep CRON
     tail -f /var/log/cron.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment