valheim-docker icon indicating copy to clipboard operation
valheim-docker copied to clipboard

Minor issue with restart schedule

Open mbround18 opened this issue 3 months ago • 1 comments

Discussed in https://github.com/mbround18/valheim-docker/discussions/1242

Originally posted by Phillip-Ian September 6, 2025 Server works great...easy setup, good performance, well done, team! I'm seeing a really minor thing though - Restart / Update crontab jobs don't seem to be following my schedule.

Here's what I have in the environment:

AUTO_UPDATE	1
AUTO_UPDATE_SCHEDULE	"0 4 * * *"
SCHEDULED_RESTART	0
SCHEDULED_RESTART_SCHEDULE	0 2 * * *
TZ	"America/New_York"

Perhaps I'm misinterpreting things, but in my webhook I see the server restarting at midnight local. That's not quite late enough for me sometimes, so it gets skipped when I'm online. No biggie, but what could I have done wrong?

mbround18 avatar Sep 06 '25 22:09 mbround18

The fix for this is not use the cronjobs but rather use the cron utility from gsm

mbround18 avatar Sep 06 '25 22:09 mbround18