diff options
author | Paul Lathrop <paul@tertiusfamily.net> | 2008-01-09 22:13:41 -0800 |
---|---|---|
committer | Paul Lathrop <paul@tertiusfamily.net> | 2008-01-09 22:13:41 -0800 |
commit | 1ff9d658f852698ca4fcd62c94d633824950d5c1 (patch) | |
tree | 6bf4118e0fb52b9bd92059b3daf552ed47a7f54b | |
parent | 40addcd1920b0fa2f558c415e65ea665bac812f9 (diff) | |
download | puppet-1ff9d658f852698ca4fcd62c94d633824950d5c1.tar.gz puppet-1ff9d658f852698ca4fcd62c94d633824950d5c1.tar.xz puppet-1ff9d658f852698ca4fcd62c94d633824950d5c1.zip |
Updated documentation for builtin cron type; added information about range and step syntaxes.
-rwxr-xr-x | lib/puppet/type/cron.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb index 17cb1667f..7882745dc 100755 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -8,6 +8,13 @@ Puppet::Type.newtype(:cron) do fields would result in the command being executed every minute. While the name of the cron job is not part of the actual job, it is used by Puppet to store and retrieve it. + + You may specify periodic fields as integers, using the standard cron + range syntax (two numbers separated by a hyphen to indicate a range + of values), or using the cron step syntax (for example, '*/2' to + indicate command execution every other time unit). This type does + not yet support the combiantion of these two syntaxes, or lists of + ranges. If you specify a cron job that matches an existing job in every way except name, then the jobs will be considered equivalent and the |