Re: date '+%a %b %e %Y' does not work from within crontab.

2002-03-03 Thread DvB
Sven Hoexter <[EMAIL PROTECTED]> writes: > On Fri, Mar 01, 2002 at 11:19:14PM -0600, DvB wrote: > > Cameron Kerr <[EMAIL PROTECTED]> writes: > > > On Fri, 1 Mar 2002, Shaul Karl wrote: > > Hi, > > > > >Should > > > > > > > >date '+%a %b %e %Y' > > > > > > > >work from within crontab? > > >

Re: date '+%a %b %e %Y' does not work from within crontab.

2002-03-02 Thread Sven Hoexter
On Fri, Mar 01, 2002 at 11:19:14PM -0600, DvB wrote: > Cameron Kerr <[EMAIL PROTECTED]> writes: > > On Fri, 1 Mar 2002, Shaul Karl wrote: Hi, > > >Should > > > > > >date '+%a %b %e %Y' > > > > > >work from within crontab? > > > > It likely won't with Vixie Cron. IIRC, Vixie Cron uses the % c

Re: date '+%a %b %e %Y' does not work from within crontab.

2002-03-02 Thread DvB
Cameron Kerr <[EMAIL PROTECTED]> writes: > On Fri, 1 Mar 2002, Shaul Karl wrote: > > > > >Should > > > >date '+%a %b %e %Y' > > > >work from within crontab? > > It likely won't with Vixie Cron. IIRC, Vixie Cron uses the % character > as a newline/comment. Here's the relevant part from cronta

Re: date '+%a %b %e %Y' does not work from within crontab.

2002-03-01 Thread Cameron Kerr
On Fri, 1 Mar 2002, Shaul Karl wrote: > >Should > >date '+%a %b %e %Y' > >work from within crontab? It likely won't with Vixie Cron. IIRC, Vixie Cron uses the % character as a newline/comment. Here's the relevant part from crontab(5) The ``sixth'' field (the rest of the line) specifi

date '+%a %b %e %Y' does not work from within crontab.

2002-03-01 Thread Shaul Karl
Should date '+%a %b %e %Y' work from within crontab? It work with sh -c. The mail I get from the cron job is: Subject: Cron <[EMAIL PROTECTED]> date '+ X-Cron-Env: X-Cron-Env: X-Cron-Env: X-Cron-Env: Sender: CronDaemon <[EMAIL PROTECTED]> Date: Fri, 01 Mar 2002 20:39:02 +0200 /bin/sh