Commit ad0e95d8 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci

collect/update.sh: Fix script name in "@reboot" crontab schedule

Signed-off-by: 's avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
parent c1e4be2d
......@@ -68,7 +68,7 @@ function schedule()
fi
userCron="$(printf\
"${MIN} ${SCHEDULE}\n${NETSCHEDULE}\n@reboot ${PREFIX}/agent.sh\n")"
"${MIN} ${SCHEDULE}\n${NETSCHEDULE}\n@reboot ${PREFIX}/update.sh\n")"
if test "$(crontab -l)" != "${userCron}"; then
printf "${userCron}\n\n" | crontab - || return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment