mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 18:13:50 +00:00
fix empty crontab
This commit is contained in:
@@ -121,7 +121,7 @@ CONF
|
|||||||
fi
|
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}"
|
echo "${CRON_ENTRY}"
|
||||||
) | crontab -u root -
|
) | crontab -u root -
|
||||||
ok "Added cron schedule: Every Sunday at midnight"
|
ok "Added cron schedule: Every Sunday at midnight"
|
||||||
|
|||||||
Reference in New Issue
Block a user