Skip to content

Instantly share code, notes, and snippets.

@nazariyv
Created September 30, 2021 12:02
Show Gist options
  • Save nazariyv/36ffa2db55500836e6c4b0657605fdb8 to your computer and use it in GitHub Desktop.
Save nazariyv/36ffa2db55500836e6c4b0657605fdb8 to your computer and use it in GitHub Desktop.
Linux - Useful for Cron work
to read the logs that cron produced due to running something: cat /var/mail/$USER
to read the logs of when and if cron launched jobs: sudo cat /var/log/cron
to restart the cron service: sudo systemctl restart crond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment