cron - The LCFG cron component
This component configures the cron daemon. It does not start the cron daemon (this is done outwith the lcfg system), but populates the cron configuration files and signals the running cron daemon that they've changed. It will, however, restart the daemon if it finds that it isn't currently running.
Authorization files are constructed for cron and at. The cron component then deletes the existing crontab files that have been created by this component on the previous execution of the configure method, together with those for any users who have base crontab files in the directory specified by the crontabs resource, or who have an additions resource, or an objects resource. Base crontabs are then copied in from the crontabs directory, and any additional entries specified by additions or objects resources are added.
The manual method will call the cron files in the /etc/cron.* directories. This is typically used on portables where the cron daemon is not normally run and this method is called by the manual user update process (via boot.run).
A (space-separated) list of users or netgroups for the cron.allow file.
A (space-separated) list of users or netgroups for the cron.deny file.
A (space-separated) list of users or netgroups for the at.allow file.
A (space-separated) list of users or netgroups for the at.deny file.
A directory containing base crontabs. Any crontabs in this directory will replace the corresponding crontabs on the machine.
A (space-separated) list of tags for additional crontab entries specified in the resource database.
The crontab entry for the addition tag. If the minute field is specified as AUTO or AUTOMINS, the field will be replaced by a number derived from the the machine's hostname modulo 60. If the hour field is specified as AUTOHOUR, the field will be replaced by a number derived from the the machine's hostname modulo 24. If the day of the week field is specified as AUTODAYS, the field will be replaced by a number derived from the the machine's hostname modulo 7. This is useful for clones.
The username under which the crontab entry add_tag should be run, defaults to root.
A space-separated list of cmetags (component method executions) to be run from cron. A cron.run_cmetag resource must be present for each component method execution listed. The component specified by the cron.object_cmetag resource is executed with the method specifed by the cron.method_cmetag resource at the time specified by the cron.run_cmetag resource.
The component for which the method is to be executed.
The time at which to run the component object_cmetag (in crontab format). If the minute field is specified as AUTO or AUTOMINS, the field will be replaced by a number derived from the the machine's hostname modulo 60. If the hour field is specified as AUTOHOUR, the field will be replaced by a number derived from the the machine's hostname modulo 24. If the day of the week field is specified as AUTODAYS, the field will be replaced by a number derived from the the machine's hostname modulo 7. This is useful for clones.
The method to call for the component object_cmetag, defaults to run.
The username under which to run the component object_cmetag, defaults to root.
Additional arguments to supply when running the component object_cmetag.
Fedora3, Solaris9, Fedora5, Fedora6, Scientific5
Alastair Scobie <ascobie@inf.ed.ac.uk>, Jeremy Olsen <J.Olsen@ed.ac.uk> and Ken Dawson <ktd@inf.ed.ac.uk>