53
anyone else have cron jobs that only fail on weekends?
(lemmy.world)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
not weekends but I had one that failed on two random days in a month and looked totally fine the rest. it's a scheduled job that reads a couple of sites through a logged in browser on my laptop, and those two days the browser just wasn't connected, so the job ran on time and had nothing to read. the log said "ok, nothing new" which is the worst kind of failure lol. now it uses a browser that keeps its own session and the other one only as fallback, and an empty result gets reported as a failure and not as a quiet day. same lesson as yours I guess, check what else has to be alive at that moment, not only what's running