~ubuntu-branches/debian/sid/cron/sid

« back to all changes in this revision

Viewing changes to cron.8

  • Committer: Package Import Robot
  • Author(s): Javier Fernández-Sanguino Peña, Christian Kastner
  • Date: 2011-09-09 23:25:35 UTC
  • Revision ID: package-import@ubuntu.com-20110909232535-2s9x4xbzm5b8vnzz
Tags: 3.0pl1-120
* do_command.c, cron.h, cron.8: Change the behaviour when logging the
  information of the child processes. A new loglevel (8) is introduced and
  documented in cron.8. The previous log format is kept unless the sysadmin
  choses to select this new option.   (Closes: 637295) 
* debian/examples/cron-stats.pl: Adjust the script with the
  changes introduced in the logging behaviour.
* cron.8: Fix minor formatting errors
* debian/cron.bug-script:
    - Report properly on the EDITOR variable
    - Report the permissions and contents of all relevant cron directories
* debian/changelog: Typo fixes and missing information
* crontab.5: 
    - Document limitations of the periods that can be defined in crontab
      syntax and provide workarounds (Closes: 640086)
    - Document limitation of the use of @reboot due to the definition
      of the boot sequence as suggested by Regid Ichira.
* debian/source/lintian-overrides: Add overrides file for lintian
  required because the maintainer name in debian/changelog and in
  debian/control do not match due to encoding.
[ Christian Kastner ]
* debian/control:
  - Fix broken Vcs-* URLs
* debian/NEWS: Remove previous spurious entry from 3.0pl1-110.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
not affect the parsing of files under /etc/cron.hourly, /etc/cron.daily,
42
42
/etc/cron.weekly or /etc/cron.monthly.
43
43
.TP
44
 
.B -L levels
 
44
.B -L loglevel 
45
45
Tell cron what to log about \fBjobs\fR (errors are logged regardless of this
46
46
value) as the sum of the following values:
47
47
.br
52
52
will log the end of all cron jobs
53
53
.IP \fB4\fR
54
54
will log all failed jobs (exit status != 0)
 
55
.IP \fB8\fR
 
56
will log the process number of all cron jobs
55
57
.RE
56
58
.IP
57
59
The default is to log the start of all jobs (1). Logging will be disabled
58
 
if \fIlevels\fR is set to zero (0). A value of seven (7) will select all
 
60
if \fIlevels\fR is set to zero (0). A value of fifteen (15) will select all
59
61
options.
60
62
.SH NOTES
61
63
.PP
70
72
 
71
73
.I cron
72
74
also reads /etc/crontab, which is in a slightly different format (see
73
 
.IR crontab(5) ). In Debian, the content of /etc/crontab is predefined
 
75
.IR crontab(5) ).
 
76
In Debian, the content of /etc/crontab is predefined
74
77
to run programs under /etc/cron.hourly, /etc/cron.daily,
75
78
/etc/cron.weekly and /etc/cron.monthly. This configuration is specific to
76
79
Debian, see the note under