tasty cron revival
[feisty_meow.git] / infobase / configuration / cron / aa_cron_defaults.crontab
1
2 #[aa cron defaults]
3 # cron default bits to add at top of crontab...
4
5 # these stanzas are assumed to be present in every one of the other cron examples.
6 # unfortunately there is no way to include cron files in other cron files, so the functional parts here just need
7 # to be plopped into the user's actual crontab.
8
9 # set the shell to bash.  this is not set by default for many crons.
10 SHELL=/bin/bash
11
12 # a key to the crontab positional entries for times.
13 #
14 # m h dom mon dow command
15 #
16 # longer form spelling out the positions.  these are optionally plural because cron allows for multiple entries in different forms.
17 # minute(s) hour(s) dayOfMonth(s) month(s) dayOfWeek(s) command
18
19 # set a user name for writing unique log files.  this is important because crontab doesn't have USER defined,
20 # although we can count on HOME being defined, luckily.
21 # you may want to use a more appropriate user name than mine, which is "fred".
22 USER=fred
23
24 # the guts of the crontab would go here.  it would spell out some time or times for the command to be executed.
25 # it's actually okay to have a really long command with multiple sub-commands; just put it inside parentheses to group
26 # a bunch of commands together.  there are many examples of doing this in the other files.
27 # also, it's often important to send the output someplace.  /dev/null works if you don't ever want to see it, but i
28 # prefer to write log files in the /tmp directory which include the user name defined above.
29