mirror of
https://codeberg.org/privacy1st/netcup-dns
synced 2024-12-22 23:36:04 +01:00
12 lines
687 B
Plaintext
12 lines
687 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 `de-p1st-execNotify` 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 de-p1st-execNotify netcup-dns > /var/log/netcup-dns.cron 2>&1
|