mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2026-11-14 01:40:43 +00:00
fix empty crontab
This commit is contained in:
1 parent
dc9fb678af
commit
9239ecf10d
1 file changed
+1
-1
@@ -121,7 +121,7 @@ CONF
|
||||
fi
|
||||
|
||||
(
|
||||
crontab -l -u root 2>/dev/null | grep -v "${LOCAL_SCRIPT}"
|
||||
crontab -l -u root 2>/dev/null | grep -v "${LOCAL_SCRIPT}" || true
|
||||
echo "${CRON_ENTRY}"
|
||||
) | crontab -u root -
|
||||
ok "Added cron schedule: Every Sunday at midnight"
|
||||
|
||||
Reference in new issue
Block a user