Scheduled job delays while environment down
We had to unexpectedly take our Decisions environment temporarily while we fixed a security issue. When we started the environment back up we noticed that a bunch of scheduled jobs that were supposed to run overnight instead ran during the day right after the environment started. Why did that happen and how can we avoid this in the future?
Note that we have Requeue Failed Action enabled for all of these scheduled jobs.
Comments
-
The Reque Failed Action setting is the reason why this happened. Depending on how long your environment was offline, when the environment comes back online, the environment realizes that certain jobs should have run during the time period while it was down. It will then queue those jobs it would have run.
You can this in the future by disabling the Can Be Job Server setting temporarily before the environment goes offline. This setting is located by going to System -> Administration -> Servers, selecting the machine, and unchecking Can Be Job Server. However, please make sure after the environment comes back online, you re-enable that setting or scheduled jobs will not run on that machine.
Howdy, Stranger!
Categories
- 4.4K All Categories
- 81 General
- 13 Training
- 209 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 711 Forms
- 346 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions