You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
386 B

  1. # Install this by running "crontab crontab" (will replace existing crontab)
  2. # m h dom mon dow cmd
  3. # Run NilmDB processing every 5 minutes
  4. */5 * * * * chronic /home/nilm/data/process.sh
  5. # Try frequently restarting the capture process in case it died
  6. */5 * * * * chronic /home/nilm/data/capture.sh
  7. # Run fsck at startup
  8. @reboot chronic nilmdb-fsck --fix --no-data /home/nilm/data/db/