mirror of
https://codeberg.org/privacy1st/de-p1st-monitor
synced 2024-11-22 19:39:33 +01:00
12 lines
684 B
Plaintext
12 lines
684 B
Plaintext
# Run command every 3min
|
|
# - https://crontab.guru/every-3-minutes
|
|
# `/etc/cron.d/` requires user field
|
|
# - https://unix.stackexchange.com/questions/458713/how-are-files-under-etc-cron-d-used#comment1019389_458715
|
|
# Some users report that files in `/etc/cron.d/` containing `-` are not executed
|
|
# - https://unix.stackexchange.com/questions/296347/crontab-never-running-while-in-etc-cron-d#comment640748_296351
|
|
# PATH is restricted to `/bin:/usr/bin` but `exec-notify` resides in `/usr/local/bin/`
|
|
# - https://serverfault.com/a/449652
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin/
|
|
*/3 * * * * root exec-notify de-p1st-monitor > /var/log/de-p1st-monitor.cron 2>&1
|