Both sides previous revision Previous revision Next revision | Previous revision |
docs_in_draft:anacron [2022/08/02 01:53] – crashtest | docs_in_draft:anacron [2022/08/02 12:48] (current) – removed crashtest |
---|
| |
\\ | |
<html><center><strong>Anacron Plugin For OMV6</strong></center></html> | |
| |
{{ :omvextras_logo4.jpg?400 |}} | |
| |
====== Anacron Plugin For OMV6 ====== | |
\\ | |
\\ | |
| |
===== 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. | |
| |
==== Prerequisites ==== | |
| |
* [[https://wiki.omv-extras.org/doku.php?id=misc_docs:omv_extras|OMV-Extras]] must be pre-installed. | |
| |
| |
==== Installation ==== | |
| |
In OMV6's GUI: | |
Under **System**, **Plugins**, highlight **openmediavault-anacron 6.X**, and click the **install** button. | |
| |
==== Configuration ==== | |
| |
Under **Services**, **Anacron**, Click the **Create** icon. | |
| |
{{ :plug_anacron_1.jpg?800 |}} | |
| |
* **Enable:d** The job must be **Enabled** to run automatically. (Disabled jobs can be run manually.) | |
* **Delay:** Delay is in minutes, after boot up. | |
* **Identifier:** This is an optional user comment field. | |
* **User:** To insure that the command line is granted the necessary permissions to execute, root (the default) is a good choice. | |
* **Command:** Enter a command line in this field as it would be entered on the command line. | |
* **Send Email:** Command output, if any, will be mailed to the E-mail account configured in [[https://wiki.omv-extras.org/doku.php?id=omv6:new_user_guide#server_notifications|Server Notifications]]. | |
* **Save** the job. | |
| |
| |
==== Source Code ==== | |
| |
-> [[https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-anacron|Source Code]] | |