package crontab
Install
Dune Dependency
Authors
Maintainers
Sources
md5=0bea4f8de63112ad92706e985e431ed0
sha512=a7a4a4f70625bd8222bd2f66dee524e54634d3a5915cab140c114228d02b0e7c598bd7675c584a05c240fbf92070c2d198fb4a1b92631eb83c333fd3e58c080b
doc/crontab/Cron/index.html
Module Cron
Source
Cron is a task scheduler standardized by POSIX.
The type for cron table.
The type of cron table entry.
Not all integers are valid. A validator makes sure only valid values are used.
val make_entry :
?minute:field ->
?hour:field ->
?day_of_the_month:field ->
?month_of_the_year:field ->
?day_of_the_week:field ->
string ->
entry
make_entry command
creates a crontab entry executing command
.
day_of_the_month entry
returns an integer in 1..31
. None
means Any
.
month_of_the_year entry
returns an integer in 0..11
. None
means Any
.
day_of_the_week entry
returns an integer in 0..6
. None
means Any
.
string_of_entry entry
produces a textual representation of entry
conforming to the POSIX standard.
crontab_of_string input
reads input
as a crontab is possible.
string_of_crontab crontable
produces a textual representation of crontable
conforming to the POSIX standard.
crontab_install crontable
installs the crontable
.
crontab_list ()
returns the currently installed cron table.
crontab_insert_entry entry
installs a new entry
in the current crontab, if it is not already there.
crontab_remove_entry entry
removes an entry
in the current crontab.
crontab_remove ()
removes the currently installed cron table.
This library version.