SQL prefilter for the dispatcher's due-routine sweep. Matches Active routines inside
their activation window whose NextRunAt is NULL (seeding candidates) or has passed.
Every row returned is re-verified in JS via IsRoutineDue / RoutineNeedsSeeding
— the SQL filter only narrows the sweep, it is not the source of truth.
SQL prefilter for the dispatcher's due-routine sweep. Matches Active routines inside their activation window whose NextRunAt is NULL (seeding candidates) or has passed. Every row returned is re-verified in JS via IsRoutineDue / RoutineNeedsSeeding — the SQL filter only narrows the sweep, it is not the source of truth.