Closed kylekingcdn closed 3 years ago
Further clarification on updating the NextExportAt value.
scheduleEnabled
scheduleInterval
lastExportAt
lastExportAt
is nil or time elapsed since lastExportAt
is greater than scheduleInterval
:
nextExportAt = currentDate + scheduleInterval
lastExportAt
is less than scheduleInterval
:
nextExportAt = lastExportAt + scheduleInterval
This should be used to handle consistent scheduling across helper app restarts etc.