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.2K All Categories
- 64 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 261 Administration
- 212 Portal
- 490 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 220 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 76 Lunch And Learn Questions