meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
cron [2024/10/29 03:22] – johnny | cron [2025/01/26 22:31] (current) – Adjust for 25.01 moving cron to scripts subdir wrongecho | ||
---|---|---|---|
Line 3: | Line 3: | ||
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. | 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 Activation | + | ==== Cron Activation ==== |
- | For the sole execution of the scripts by Cron, not by an arbitrary user or bot visiting the pages, it is necessary | + | * Sign in to ITFlow with administrative rights. |
+ | * Navigate to **Settings** > **Notifications**: | ||
+ | * Enable | ||
- | Sign in to ITFlow with administrative rights. Proceed to **Settings** > **Notifications**: | + | == Cron Scripts |
- | * Enable cron | + | If installed by script after the date above location will now be ''/ |
- | * Generate a Cron Key | + | |
- | == Cron Script 2.0 as of 2024-10-27 | + | |
- | If installed by script after the date above location will now be ''/ | + | |
< | < | ||
- | 0 2 * * * www-data / | + | 0 2 * * * www-data / |
- | * * * * * www-data / | + | * * * * * 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: | ||
*NOTE: THESE ARE SETUP BY DEFAULT IF YOU INSTALLED ITFLOW USING THE [[installation_script|SCRIPT]] | *NOTE: THESE ARE SETUP BY DEFAULT IF YOU INSTALLED ITFLOW USING THE [[installation_script|SCRIPT]] | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | + | ||
- | Please note: Swap [KEY] with your actual Cron key, and don't include the brackets [ ] | + | |
- | == Example == | + | == OLD / Example == |
< | < | ||
# / | # / |