forked from ungleich-public/cdist
__cron should replace entrys with his id
This commit is contained in:
parent
f80501d65c
commit
6afc4b82c2
1 changed files with 1 additions and 1 deletions
|
@ -22,4 +22,4 @@
|
|||
name="$__object_name"
|
||||
user="$(cat "$__object/parameter/user")"
|
||||
|
||||
crontab -u $user -l 2>/dev/null | grep "# $name\$" || true
|
||||
crontab -u $user -l 2>/dev/null | grep "# $name\$" | head -n 1 || true
|
||||
|
|
Loading…
Reference in a new issue