Closed ramonskie closed 4 months ago
just want to mention it also happens with 0 3 * * *
which should be the default defined here https://github.com/rommapp/romm/wiki/Scheduled-Tasks
if i remove the SCHEDULED_RESCAN_CRON
variable and only have ENABLE_SCHEDULED_RESCAN enabled
all works as expected.
its probably due to some interpolation issue when grabbing the environment variable
EDIT:
it is indeed an issue when its double quoted
- SCHEDULED_RESCAN_CRON="0 */4 * * *"
fails
- SCHEDULED_RESCAN_CRON=0 */4 * * *
works
Yeah the double-quotes shouldn't be used in the docker-compose, I'll mark this as solved for future readers.
running version: rommapp/romm:3.1.0-rc.2 docker-compose excerpt
the following cron syntax wil result in a failure
"0 */4 * * * "
this should trigger it every 4th hour see: https://crontab.guru/#0*/4__*but in settings>controll panel. it wills show
Rescans the entire library at "0 seconds past the minute, every 4 minutes, every hour, only on undefined