StatefulJob guarantees that only one job will be launched at a time. For example, if you plan your work to work every 1 minute, but your work took 5 minutes, then the task will not be started again until the completion of the previous task.
This is useful to ensure that only one task is running at any given time.
The next task will be launched in the next schedule, and not immediately after the completion of the previous task.
source share