this post was submitted on 04 Feb 2026
619 points (98.4% liked)
Fuck AI
5502 readers
915 users here now
"We did it, Patrick! We made a technological breakthrough!"
A place for all those who loathe AI to discuss things, post articles, and ridicule the AI hype. Proud supporter of working people. And proud booer of SXSW 2024.
AI, in this case, refers to LLMs, GPT technology, and anything listed as "AI" meant to increase market valuations.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments


You could.
It just makes the design more complex (there's at least one extra nasty corner case I can think of) and generally doesn't add that much a performance improvement vs "run every 30 minutes", to be worth it, IMHO.
Well, now I'm curious about what that corner case is.
The script can be triggered just before and run during the time that's calculated as the transition from nighttime to daytime.
If that possibility is not taken in account in the implementation there's a risk that the cron job is scheduled for a bit under 24h later.
It's basically a critical race condition.
Eh, if the script always just calculates the sunrise time for the next day and overwrites the cron job, then its runtime shouldn't matter — unless it gets stuck for 24 hours.
Yeah, if the script only ever schedules the next day's run, that would work fine.