On Thu, 04 Nov 2004 18:58:06 +1100 Peter Hardy <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED]:~$ ( wday -q || wday -q `/bin/date -d yesterday +%Y%m%d` ) && echo Hello [EMAIL PROTECTED]:~$
at a tangent to the main question, did you actually check this in cron?
Because % is used to insert newlines in crontab and needs to be escaped (with \).
Ooo, I didn't know about the newline thing. And no, I hadn't yet tested the actual cron lines.
Thanks for the heads up. And hooray for many eyes!
-- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html