1Config::Generator::CronUtsaebr(3C)ontributed Perl DocumeCnotnaftiigo:n:Generator::Crontab(3)
2
3
4

NAME

6       Config::Generator::Crontab - Config::Generator crontab support
7

DESCRIPTION

9       This module eases the generation of crontabs.
10
11       A crontab is represented by a hash with one optional special key
12       ("mailto" representing who should receive the cron reports) and the
13       other keys for the cron entries themselves. For instance:
14
15         $cron{mailto}    = "john.doe\@acme.org";
16         $cron{hourlyfoo} = "<{rnd60}> * * * * foo --option 3";
17         $cron{dailybar}  = "<{rnd60}> <{rnd24}> * * * bar";
18         $contents = format_crontab(%cron);
19
20       The "<{rnd*}>" tokens will be replaced by pseudo-random numbers in the
21       given range (24 or 60), provided by the Config::Generator::Random
22       module.
23

FUNCTIONS

25       This module provides the following functions (none of them being
26       exported by default):
27
28       format_crontab(HASH)
29           transform the crontab abstraction represented by the given HASH
30           into a string suitable to be saved under the "/etc/cron.d"
31           directory
32

AUTHOR

34       Lionel Cons <http://cern.ch/lionel.cons>
35
36       Copyright (C) CERN 2013-2016
37
38
39
40perl v5.28.1                      2016-05-24     Config::Generator::Crontab(3)
Impressum