ConstantDelaySchedule represents a simple recurring duty cycle, e.g. "Every 5 minutes". It does not support jobs more frequent than once a second.
| 5 | // ConstantDelaySchedule represents a simple recurring duty cycle, e.g. "Every 5 minutes". |
| 6 | // It does not support jobs more frequent than once a second. |
| 7 | type ConstantDelaySchedule struct { |
| 8 | Delay time.Duration |
| 9 | } |
| 10 | |
| 11 | // Every returns a crontab Schedule that activates once every duration. |
| 12 | // Delays of less than a second are not supported (will round up to 1 second). |
nothing calls this directly
no outgoing calls
no test coverage detected