Created
April 10, 2020 17:15
-
-
Save oneross/56642032626766673854f474e479038c to your computer and use it in GitHub Desktop.
Crontab for Raspberry Pi running Octopi, just to keep a tab on things
This file contains hidden or 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
# date, uptime, CPU temp, voltage related events from kernal log, on the hour every hour | |
1 * * * * date >> vitals.log && uptime >> vitals.log && /opt/vc/bin/vcgencmd measure_temp >> vitals.log && (journalctl -k --since=-1h | grep -i voltage) >> vitals.log && echo " " >> vitals.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment