Browse Source

Run fsck at startup

tags/nilmtools-1.4.10
Jim Paris 10 years ago
parent
commit
dab9625296
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      extras/sample-cron-scripts/crontab

+ 3
- 0
extras/sample-cron-scripts/crontab View File

@@ -7,3 +7,6 @@

# Try frequently restarting the capture process in case it died
*/5 * * * * chronic /home/nilm/data/capture.sh

# Run fsck at startup
@reboot chronic nilmdb-fsck --fix --no-data /home/nilm/data/db/

Loading…
Cancel
Save