docs_in_draft:anacron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
docs_in_draft:anacron [2022/08/01 22:16] – [Summary] crashtestdocs_in_draft:anacron [2022/08/02 03:22] crashtest
Line 11: Line 11:
 ===== Summary ===== ===== Summary =====
  
-Anacron can be used to execute commands periodically, with a frequency specified in days. 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.+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.
  
-==== Developers Code ====+===== Configuration ===== 
 + 
 +Under **Services**, **Anacron**, Click the **Create** icon. 
 + 
 +{{ :plug_anacron_1.jpg?800 |}} 
 + 
 +  * **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. 
 +  * **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]] -> [[https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-anacron|Source Code]]