Skip to content

Commit

Permalink
reasons for the directives about interval values
Browse files Browse the repository at this point in the history
  • Loading branch information
opyate committed Dec 20, 2024
1 parent 44e1f06 commit 1da5551
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,18 @@ This code illustrates the difference:
The intervals have to satisfy the following conditions:

* the job interval has to be a multiple of the scheduler interval
* the job interval has to be greater than the scheduler interval
* the job interval has to be greater than the scheduler interval, otherwise the job will run only as often as the scheduler polls
* the job interval has to be a multiple of the scheduler interval, otherwise the job will run at irregular intervals

For example, if the scheduler polls every 3 seconds and the job interval is 10 seconds, the job will run every 12 seconds:

* 0s: scheduler polls
* 3s: scheduler polls
* 6s: scheduler polls
* 9s: scheduler polls
* 10s: job is supposed to run
* 12s: scheduler polls, and job only now runs


Running the Scheduler as a Service on Ubuntu
--------------------------------------------
Expand Down

0 comments on commit 1da5551

Please sign in to comment.