cronie (1.7.2-4) unstable; urgency=medium . * d/patches: Fix FTBFS with GCC-15 . cronie (1.7.2-3) unstable; urgency=medium . * Move to unstable . cronie (1.7.2-2) experimental; urgency=medium . * Move aliased files from / to /usr (Closes: #1073727) . cronie (1.7.2-1) unstable; urgency=medium . * New upstream version * Standards-Version: 4.7.0 (routine-update) * Remove trailing whitespace in debian/copyright (routine-update) * Refresh patches . cronie (1.7.1-1) unstable; urgency=medium . * New upstream release. * Refresh cronie-service-debianization.patch . cronie (1.7.0-2) unstable; urgency=medium . * d/patches: Update Manpage-and-typo-fixes.patch . cronie (1.7.0-1) unstable; urgency=medium . * New upstream release. * Refresh patches. . cronie (1.6.1-9) unstable; urgency=medium . * d/control: Drop dependency on adduser (Closes: #1051839) * d/cronie.postinst: Trim duplicated code that is in cron-daemon-common * d/etc: Remove files installed with cron-daemon-common . cronie (1.6.1-8) unstable; urgency=medium . * reorganized debian/control like the same file in cron package. Closes: #1046898 . cronie (1.6.1-7) unstable; urgency=medium . * Move to unstable (Closes: #1043361) * d/watch: Update to grab correct source file * d/copyright: Update year to 2023 for debian files * d/control: Update standards version to 4.6.2 and update maintainer email * d/upstream/metadata: Add upstream metadata . cronie (1.6.1-6) experimental; urgency=medium . [lq27267@gmail.com] * Fix watch file to grab most recent upstream release . [georgesk@debian.org] * replaced the dependency on lsb-base by a dependency on sysvinit-utils, and removed the versioned mention about the dependency on libpam-runtime . cronie (1.6.1-5) experimental; urgency=medium . * cronie pre-depends now on cron-daemon-common, and does no longer install conflicting files. Closes: #1023325 . cronie (1.6.1-4) experimental; urgency=medium . * fixed the watch file . cronie (1.6.1-3) experimental; urgency=medium . * reverted previous changes, as I did not notice the closed ITA bug #974038, came back to contents authored by Lin Lance. . cronie (1.6.1-2) experimental; urgency=medium . * refreshed debian patches, which were targetted to version 1.5.5 . cronie (1.6.1-1) experimental; urgency=medium . * New upstream version (1.6.1) * Refreshed patches * d/control: New maintainer (Closes: #974038) * d/control: Updated standards (4.6.0), dh-compat (13) . cronie (1.5.5-3) experimental; urgency=medium . * Add Hurd-workaround-for-PATH_MAX.patch (Closes: #638048) * Fix spelling error in previous changelog entry . cronie (1.5.5-2) experimental; urgency=medium . * Don't build /usr/sbin/anacron /usr/sbin/anacron is still provided by src:anacron. Thanks, Andreas Beckmann, for catching this! (Closes: #944024) . cronie (1.5.5-1) experimental; urgency=medium . * New upstream version 1.5.5 * Drop patches (included upstream): - crond-report-missing-newline-before-EOF.patch - crontab-Add-Y-N-to-retry-prompt.patch - crontab-fsync-to-check-for-full-disk.patch - crontab.1-Various-fixes-and-improvements.patch - entries-Explicitly-validate-upper-ranges-and-steps.patch * Refresh patches - debian/patches/Manpage-and-typo-fixes.patch - debian/patches/Rename-PAM-service-to-cronie.patch + Split out Unbundle-upstream-PAM-config.patch from this one . cronie (1.5.4-final-2) experimental; urgency=medium . * build: Set default EDITOR to /usr/bin/sensible-editor * d/patches (added): - crond-report-missing-newline-before-EOF.patch - entries-Explicitly-validate-upper-ranges-and-steps.patch - crontab.1-Various-fixes-and-improvements.patch - crontab-Add-Y-N-to-retry-prompt.patch - crontab-fsync-to-check-for-full-disk.patch . cronie (1.5.4-final-1) experimental; urgency=medium . * New upstream release. (Closes: #697811, #783856) . [ Andreas Henriksson ] * debian/watch: update for cronie move to github * Modify patches to apply against new upstream release * Add debian/gbp.conf * Adjust and ship the cronie.service file * Use debian/clean to remove src/cron-paths.h * Fix lintian warning about not using default-mta * Fix typo in patch tagging meta-header . [ Christian Kastner ] * d/control: - Switch Build-Depends from debhelper to debhelper-compat - Bump debhelper compatibility level to 12 - Bump Standards-Version to 4.4.1 (no changes needed) - Remove now obsolete d/compat file - Set Rules-Requires-Root: no We don't need (fake)root for building the package. - Point Homepage to GitHub - Set Vcs-* URLs for Salsa - Mark package cronie as Multi-Arch: foreign - Add Pre-Depends: ${misc:Pre-Depends} to binary package As recommended by lintian's skip-systemd-native-flag-missing-pre-depends * d/cronie.default: Add new daemon flag "-P" * d/rules: - Add hardening flags - Stop passing actions to dh_installinit This has been obsoleted by dependency-based booting in Wheezy, see https://lists.debian.org/debian-devel/2013/05/msg01109.html - Use DEB_HOST_ARCH_OS from /usr/share/dpkg/architecture.mk - Proper passing of CFLAGS through DEB_CFLAGS_MAINT_APPEND * d/copyright: - Fix syntax errors - Switch URL to official policy URL - Point Source to GitHub fedorahosted.org has been retired - Bump copyrights * d/clean: Remove generated files for (non-enabled) anacron build * Sync maintscripts with src:cron . cronie (1.4.8-1~exp1) experimental; urgency=low . * Initial release (Closes: #590876) * debian/patches added: - 0001-Unbundle-anacron - 0002-Manpage-and-typo-fixes - 0003-Rename-PAM-service-to-cronie - 0004-Debian-specific-paths-and-features - 0005-Extend-support-for-kFreeBSD-and-GNU-HURD
152 lines
4.9 KiB
Diff
152 lines
4.9 KiB
Diff
From: Christian Kastner <ckk@kvr.at>, Lance Lin <lq27267@gmail.com>
|
|
Date: Thu, 28 Jul 2011 11:07:40 +0200
|
|
Subject: Manpage and typo fixes
|
|
Last-Update: 21 Nov 2023
|
|
|
|
Correct some errors or clarify sections in the manpages; fix some typos
|
|
---
|
|
man/cron.8 | 43 ++++++++++++++++---------------------------
|
|
man/crontab.1 | 2 +-
|
|
man/crontab.5 | 2 +-
|
|
src/cron.c | 2 +-
|
|
4 files changed, 19 insertions(+), 30 deletions(-)
|
|
|
|
--- a/man/cron.8
|
|
+++ b/man/cron.8
|
|
@@ -37,23 +37,15 @@
|
|
.B -V
|
|
.SH DESCRIPTION
|
|
.I Cron
|
|
-is started from
|
|
-.I /etc/rc.d/init.d
|
|
-or
|
|
-.I /etc/init.d
|
|
-when classical sysvinit scripts are used. In case systemd is enabled, then unit file is installed into
|
|
-.I /lib/systemd/system/crond.service
|
|
-and daemon is started by
|
|
-.I systemctl start crond.service
|
|
-command. It returns immediately, thus, there is no need to need to start it with
|
|
-the '&' parameter.
|
|
+is automatically started at boot time.
|
|
.PP
|
|
.I Cron
|
|
searches
|
|
.I /var/spool/cron
|
|
-for crontab files which are named after accounts in
|
|
-.I /etc/passwd;
|
|
-The found crontabs are loaded into the memory.
|
|
+for crontab files which are named after user accounts;
|
|
+together with the system crontab
|
|
+.IR /etc/crontab ,
|
|
+the found crontabs are loaded into the memory.
|
|
.I Cron
|
|
also searches for
|
|
any files in the
|
|
@@ -71,12 +63,11 @@
|
|
option.
|
|
.PP
|
|
There are two ways how changes in crontables are checked. The first
|
|
-method is checking the modtime of a file. The second method is using the
|
|
-inotify support. Using of inotify is logged in the
|
|
-.I /var/log/cron
|
|
-log after the daemon is started. The inotify support checks for changes
|
|
-in all crontables and accesses the hard disk only when a change is
|
|
-detected.
|
|
+method is checking the modtime of a file. The second method
|
|
+is using inotify support, which is only available on Linux.
|
|
+When the daemon uses inotify, it logs this fact to syslog on startup.
|
|
+The inotify support checks for changes in all crontables and accesses the
|
|
+hard disk only when a change is detected.
|
|
.PP
|
|
When using the modtime option,
|
|
.I Cron
|
|
@@ -99,13 +90,8 @@
|
|
.TP
|
|
.IR /var/spool/cron
|
|
directory that contains user crontables created by the
|
|
-.IR crontab
|
|
-command.
|
|
-.PP
|
|
-Note that the
|
|
.BR crontab (1)
|
|
-command updates the modtime of the spool directory whenever it changes a
|
|
-crontab.
|
|
+command.
|
|
.PP
|
|
.SS Daylight Saving Time and other time changes
|
|
Local time changes of less than three hours, such as those caused by the
|
|
@@ -153,7 +139,6 @@
|
|
standard input and send it as a mail message to the recipients specified
|
|
in the mail headers. Specifying the string
|
|
.I "off"
|
|
-(i.e., crond -m off)
|
|
will disable the sending of mail.
|
|
.TP
|
|
.B "\-n"
|
|
@@ -167,10 +152,14 @@
|
|
.B "\-f"
|
|
the same as -n, consistent with other crond implementations.
|
|
.TP
|
|
+.B "\-i"
|
|
+Disables inotify support (if present)
|
|
+.TP
|
|
.B "\-p"
|
|
Allows
|
|
.I Cron
|
|
-to accept any user set crontables.
|
|
+to accept any user set crontables (read: lift owner, type and mode
|
|
+restrictions)
|
|
.TP
|
|
.B "\-P"
|
|
Don't set PATH. PATH is instead inherited from the environment.
|
|
--- a/man/crontab.1
|
|
+++ b/man/crontab.1
|
|
@@ -109,7 +109,7 @@
|
|
.IR /etc/cron.d/
|
|
directory.
|
|
.PP
|
|
-The temporary directory can be set in an environment variable. If it is
|
|
+The temporary directory can be set using the environment variable $TMPDIR. If it is
|
|
not set by the user, the
|
|
.I /tmp
|
|
directory is used.
|
|
--- a/man/crontab.5
|
|
+++ b/man/crontab.5
|
|
@@ -65,7 +65,7 @@
|
|
.I LOGNAME
|
|
and
|
|
.I HOME
|
|
-are set from the /etc/passwd line of the crontab\'s owner.
|
|
+are set from the /etc/passwd line of the crontab's owner.
|
|
.I HOME
|
|
and
|
|
.I SHELL
|
|
@@ -272,7 +272,7 @@
|
|
# run at 2:15pm on the first of every month -- output mailed to paul
|
|
15 14 1 * * $HOME/bin/monthly
|
|
# run at 10 pm on weekdays, annoy Joe
|
|
-0 22 * * 1-5 mail -s "It's 10pm" joe%Joe,%%Where are your kids?%
|
|
+0 22 * * 1-5 mail \-s "It's 10pm" joe%Joe,%%Where are your kids?%
|
|
23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday"
|
|
5 4 * * sun echo "run at 5 after 4 every sunday"
|
|
.fi
|
|
@@ -292,14 +292,14 @@
|
|
* * * * * root touch /tmp/file
|
|
.fi
|
|
.SH NOTES
|
|
-As noted above, skip values only operate within the time period they\'re
|
|
+As noted above, skip values only operate within the time period they're
|
|
attached to. For example, specifying "0/35" for the minute field of a
|
|
-crontab entry won\'t cause that entry to be executed every 35 minutes;
|
|
+crontab entry won't cause that entry to be executed every 35 minutes;
|
|
instead, it will be executed twice every hour, at 0 and 35 minutes past.
|
|
For more fine-grained control you can do something like this:
|
|
.nf
|
|
-* * * * * if [ $(expr \\( $(date +%s) / 60 \\) % 58) = 0 ]; then echo this runs every 58 minutes; fi
|
|
-0 * * * * if [ $(expr \\( $(date +%s) / 3600 \\) % 23) = 0 ]; then echo this runs every 23 hours on the hour; fi
|
|
+* * * * * if [ $(expr ( $(date +%s) / 60 ) % 58) = 0 ]; then echo this runs every 58 minutes; fi
|
|
+0 * * * * if [ $(expr ( $(date +%s) / 3600 ) % 23) = 0 ]; then echo this runs every 23 hours on the hour; fi
|
|
.fi
|
|
Adjust as needed if your
|
|
.BR date (1)
|