Drazzilb08 / daps

DAPS (Drazzilb's Arr PMM Scripts) A collection of useful scripts for media management and automation
MIT License
152 stars 31 forks source link

Looks like changing cron schedule doesen't actually take effect immediately #189

Closed s0len closed 2 months ago

s0len commented 2 months ago

I've been using cron for my scheduling for quite a while and always had the issue of when I use cron (10 */1 * * *) It never actually triggers the script when i change the minute to 3-4 minutes after the current time. I thought it was due to some weird TN SCALE issue so I never actually bothered to report it but right now I'm running this through docker compose.

How to reproduce

I change my minute marker of my cron schedule to current minute + 4 minutes. I can see main.log updates with the new schedule. After the minutes tick by the script border_replacer actually never runs until I restart my container.

Drazzilb08 commented 2 months ago

Try reaccomplishing this with debug enabled for the main script. It's been a while since I've messed with the main script post the logs.

s0len commented 2 months ago

main.log Ah, debug shows exactly how it behaves. 56 was before i edited to 59

Drazzilb08 commented 2 months ago

So is it acting as intended if so go ahead and close the issue.

s0len commented 2 months ago

I thought it was supposed to change the schedule live? Right now the schedule will only change after a restart of the container. But alright, i'll just keep it in mind