• Aceticon@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    19 days ago

    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.