Created
September 30, 2021 12:02
-
-
Save nazariyv/36ffa2db55500836e6c4b0657605fdb8 to your computer and use it in GitHub Desktop.
Linux - Useful for Cron work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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