Hi Wolf,

Wolf Wiegand wrote:
> Justin Pryzby wrote:
> 
>> Could you test if this problem exists with recent versions of cron?
> 
> I just checked on a current sid machine, the problem still exists:
> 
> $ dpkg -l cron | grep ^ii
> ii  cron              3.0pl1-103       management of regular background 
> processing
> 
> $ crontab -l
> @reboot FOO=$(ls /); echo $FOO | mail w...@localdomain
> @reboot FOO="asdf"; echo $FOO | mail w...@localdomain
> 
> $ grep CRON /var/log/syslog | egrep "wolf|reboot"
> Mar  8 11:35:10 denkbrett /usr/sbin/cron[2766]: (CRON) INFO (Running @reboot 
> jobs)
> Mar  8 11:35:10 denkbrett /USR/SBIN/CRON[2802]: (wolf) CMD (FOO="asdf"; echo 
> $FOO | mail w...@localdomain)

I tried the exact same crontab (s/wolf/testuser/) on a vanilla lenny,
and my sid devel machine, and all worked as expected.

Could I ask you to try this one more time?

What's really weird is that it's just the line with the command
substitution that fails. cron doesn't perform any kind of
interpretation, it just passes on the entire command string to $SHELL -c
(default /bin/sh).


Christian



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