chore: renamed dependency exec-notify

This commit is contained in:
Daniel Langbein 2023-06-16 13:50:55 +02:00
parent 76f19a960a
commit 685c3e2daa
2 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ nc-dnsapi:
requests: requests:
pip list | cut -f 1 -d ' ' | grep '^requests$$' || sudo pacman -S --needed python-requests pip list | cut -f 1 -d ' ' | grep '^requests$$' || sudo pacman -S --needed python-requests
.PHONY: notify ## Check if execNotify is installed. .PHONY: notify ## Check if exec-notify is installed.
notify: notify:
# `type` does not work e.g. on Ubuntu 18.04 # `type` does not work e.g. on Ubuntu 18.04
which de-p1st-execNotify which exec-notify
.PHONY: cron ## Check if cron (e.g. cronie) is running. .PHONY: cron ## Check if cron (e.g. cronie) is running.
cron: cron:

View File

@ -4,8 +4,8 @@
# - https://unix.stackexchange.com/questions/458713/how-are-files-under-etc-cron-d-used#comment1019389_458715 # - 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 # 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 # - 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/` # PATH is restricted to `/bin:/usr/bin` but `exec-notify` resides in `/usr/local/bin/`
# - https://serverfault.com/a/449652 # - https://serverfault.com/a/449652
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin/ 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 */3 * * * * root exec-notify netcup-dns > /var/log/netcup-dns.cron 2>&1