__cron should replace entrys with his id

This commit is contained in:
Daniel Heule 2014-01-14 09:47:54 +01:00
parent f80501d65c
commit 6afc4b82c2

View file

@ -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