nilmtools/extras/sample-cron-scripts/crontab

16 lines
469 B
Plaintext
Raw Permalink Normal View History

2013-07-29 18:37:55 -04:00
# Install this by running "crontab crontab" (will replace existing crontab)
SHELL=/bin/bash
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
2013-07-29 18:37:55 -04:00
# m h dom mon dow cmd
# Run NilmDB processing every 5 minutes
*/5 * * * * chronic /home/nilm/data/process.sh
2013-08-03 11:23:43 -04:00
# Try frequently restarting the capture process in case it died
*/5 * * * * chronic /home/nilm/data/capture.sh
2013-08-09 16:03:14 -04:00
# Run fsck at startup
@reboot chronic nilmdb-fsck --fix --no-data /home/nilm/data/db/