Package: cron
Version: 3.0pl1-106
Severity: important

Given the following to jobs in a user's crontab:

    */1 * * * * echo `date +%Y-%m-%d`
    */1 * * * * echo $(date +%Y-%m-%d)

Cron will execute this:

    Jan 19 21:30:01 v /USR/SBIN/CRON[8641]: (avar) CMD (echo $(date +)
    Jan 19 21:30:01 v /USR/SBIN/CRON[8642]: (avar) CMD (echo `date +)

The commands both work as expected when typed into dash and bash.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-x86_64-linode11 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cron depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libpam0g                      1.1.0-4    Pluggable Authentication Modules l
ii  libselinux1                   2.0.89-4   SELinux runtime shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

Versions of packages cron recommends:
ii  lockfile-progs                0.1.13     Programs for locking and unlocking
ii  postfix [mail-transport-agent 2.6.5-3    High-performance mail transport ag

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

-- 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