Re: date '+%a %b %e %Y' does not work from within crontab.
Cameron Kerr <firstname.lastname@example.org> writes:
> On Fri, 1 Mar 2002, Shaul Karl wrote:
> > 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)
To tell the truth, I just had the same problem on a solaris server at
work... my process didn't produce any logs for a few days until I went
to check and realized what was going on. I wouldn't think solaris used
vixie, but I could be wrong. I'll have to check the man page on Monday.
If anyone knows how to fix this, I'd love to find out too :-\