Package: cron
Version: 3.0pl1-116
Severity: minor

Petty as this may be it may save somebody else some time!

The documentation gives an example:

       # Run on every second Saturday of the month
       0 4 8-14 * *    test $(date +%u) -eq 6 && echo "2nd Saturday"

However this reports:

   /bin/sh: -c: line 0: unexpected EOF while looking for matching `)'
   /bin/sh: -c: line 1: syntax error: unexpected end of file

The documentation should probably be:

       # Run on every second Saturday of the month
       0 4 8-14 * *    test $(date +\%u) -eq 6 && echo "2nd Saturday"

(note the slash before the percentage symbol)

-- System Information:
Debian Release: 6.0.3
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cron depends on:
ii  adduser               3.112+nmu2         add and remove users and groups
ii  debianutils           3.4                Miscellaneous utilities specific t
ii  dpkg                  1.15.8.11          Debian package management system
ii  libc6                 2.11.2-10          Embedded GNU C Library: Shared lib
ii  libpam-runtime        1.1.1-6.1+squeeze1 Runtime support for the PAM librar
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libselinux1           2.0.96-1           SELinux runtime shared libraries
ii  lsb-base              3.2-23.2squeeze1   Linux Standard Base 3.2 init scrip

Versions of packages cron recommends:
ii  lockfile-progs                0.1.15     Programs for locking and unlocking
ii  nullmailer [mail-transport-ag 1:1.04-1.2 simple relay-only mail transport a

Versions of packages cron suggests:
pn  anacron                       <none>     (no description available)
pn  checksecurity                 <none>     (no description available)
ii  logrotate                     3.7.8-6    Log rotation utility

Versions of packages cron is related to:
ii  libnss-ldap                   264-2.2    NSS module for using LDAP as a nam
pn  libnss-ldapd                  <none>     (no description available)
ii  libpam-ldap                   184-8.5    Pluggable Authentication Module fo
pn  libpam-mount                  <none>     (no description available)
pn  nis                           <none>     (no description available)
ii  nscd                          2.11.2-10  Embedded GNU C Library: Name Servi

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to