diff options
| -rw-r--r-- | remote/modules/smartctl/data/etc/cron.d/openslx-smartctl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remote/modules/smartctl/data/etc/cron.d/openslx-smartctl b/remote/modules/smartctl/data/etc/cron.d/openslx-smartctl new file mode 100644 index 00000000..42a251da --- /dev/null +++ b/remote/modules/smartctl/data/etc/cron.d/openslx-smartctl @@ -0,0 +1,8 @@ +# Check smart values at night. If the machine gets shut down at night, +# this will not trigger, but we check it once on boot anyways. + +SHELL=/bin/ash +PATH=/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/usr/sbin:/opt/openslx/usr/bin:/opt/openslx/sbin:/opt/openslx/bin + +4 4 * * * root /opt/openslx/scripts/systemd-smartctl + |
