We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df9fc3e commit 2b83f37Copy full SHA for 2b83f37
rootfs/etc/cont-init.d/04-update-crontabs
@@ -37,7 +37,7 @@ if [[ "$EXECUTE_CRON" = "true" ]] && [[ -f "${USERS_CONF}" ]]; then
37
schedule=$(echo "${row}" | jq -r 'to_entries|map("\(.value|tostring)")|.[]')
38
39
echo "Found schedule for command ${cmd}: ${schedule}"
40
- echo "${schedule} /usr/local/bin/nut-api -a \"${CRONTAB_USER}\" -c \"${cmd}\"" >/etc/crontabs/root
+ echo "${schedule} /usr/local/bin/nut-api -a \"${CRONTAB_USER}\" -c \"${cmd}\"" >>/etc/crontabs/root
41
echo "Added ${cmd} schedule to /etc/crontabs/root..."
42
done
43
else
0 commit comments