meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cron [2023/06/23 16:22] – [Cron] johnny | cron [2025/01/26 22:31] (current) – Adjust for 25.01 moving cron to scripts subdir wrongecho | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Cron ====== | ====== Cron ====== | ||
- | ITFlow comes with an array of PHP scripts that are meant to be executed automatically using Cron. The operation of scripts via Cron guarantees that actions are carried out autonomously in the background, eliminating the need for a user to be logged in. | + | ITFlow comes with an array of PHP scripts that are meant to be executed automatically using Cron. The operation of scripts via Cron guarantees that actions are carried out autonomously in the background, eliminating the need for a user to be logged in. We strongly recommend configuring cron. |
- | ==== Cron Enable & Key ==== | + | ==== Cron Activation |
- | In order to ensure only Cron executes the scripts (and not some random user/bot navigating | + | * Sign in to ITFlow with administrative rights. |
+ | * Navigate | ||
+ | * Enable | ||
- | Login to ITFlow as an admin. Navigate to **Settings** > **Alerts**: | + | == Cron Scripts of v25.01 == |
- | * Enable cron | + | If installed by script after the date above location will now be ''/ |
- | * Generate a Cron Key | + | < |
+ | 0 2 * * * www-data / | ||
+ | * * * * * www-data / | ||
+ | * * * * * www-data / | ||
+ | 0 3 * * * www-data / | ||
+ | 0 4 * * * www-data / | ||
+ | </ | ||
- | ==== Cron Scripts | + | -- |
+ | |||
+ | == OLD / Cron Scripts == | ||
The following scripts should be added to your Cron: | The following scripts should be added to your Cron: | ||
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
+ | * '' | ||
+ | | ||
+ | * '' | ||
+ | | ||
- | Please note: Swap [KEY] with your actual Cron key, and don't include the brackets [ ] | + | == OLD / Example == |
+ | < | ||
+ | # / | ||
+ | # ITFlow - Nightly cron script | ||
+ | 0 02 * * * | ||
+ | </ | ||
+ | {{: |