Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
docs_in_draft:anacron [2022/08/02 01:53] – crashtest | docs_in_draft:anacron [2022/08/02 03:22] – crashtest |
---|
===== Summary ===== | ===== Summary ===== |
| |
Anacron can be used to execute commands periodically, with a frequency of daily, weekly or monthly. Unlike cron, it does not assume that the machine is running continuously. Anacron can be used on machines that aren’t running 24 hours a day, to control daily, weekly, and monthly jobs that are usually controlled by cron. If powered off and a job is due, Anacron will run it after the next bootup. | Anacron can be used to execute commands periodically, with intervals of daily, weekly or monthly. Unlike cron, it does not assume that the machine is running continuously. Anacron can be used on machines that aren’t running 24 hours a day, to control daily, weekly, and monthly jobs that are usually controlled by cron. If powered off and a job is due, Anacron will run it after the next bootup. |
| |
==== Prerequisites ==== | ===== Prerequisites ===== |
| |
* [[https://wiki.omv-extras.org/doku.php?id=misc_docs:omv_extras|OMV-Extras]] must be pre-installed. | * [[https://wiki.omv-extras.org/doku.php?id=misc_docs:omv_extras|OMV-Extras]] must be pre-installed. |
| |
| |
==== Installation ==== | ===== Installation ===== |
| |
In OMV6's GUI: | In OMV6's GUI:\\ |
Under **System**, **Plugins**, highlight **openmediavault-anacron 6.X**, and click the **install** button. | Under **System**, **Plugins**, find and highlight **openmediavault-anacron 6.X**, and click the **install** button. |
| |
==== Configuration ==== | ===== Configuration ===== |
| |
Under **Services**, **Anacron**, Click the **Create** icon. | Under **Services**, **Anacron**, Click the **Create** icon. |
{{ :plug_anacron_1.jpg?800 |}} | {{ :plug_anacron_1.jpg?800 |}} |
| |
* **Enable:d** The job must be **Enabled** to run automatically. (Disabled jobs can be run manually.) | * **Enabled:** The job must be **Enabled** to run automatically. (Disabled jobs can be run manually.) |
| * **Period:** Select the interval required for the job. |
* **Delay:** Delay is in minutes, after boot up. | * **Delay:** Delay is in minutes, after boot up. |
* **Identifier:** This is an optional user comment field. | * **Identifier:** This is an optional user comment field. |
| |
| |
==== Source Code ==== | ===== Source Code ===== |
| |
-> [[https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-anacron|Source Code]] | -> [[https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-anacron|Source Code]] |