Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Crontab question
  • From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
  • Date: Fri, 25 Feb 2005 08:12:57 -0500
  • Message-id: <20050225131257.GO27921@xxxxxxxxxxxxxxx>

How would I enter the following line in crontab?:
echo `date _%y%m%d`
^^^ ^^^
those are back-tic's

crontab emails me an error message:
Subject: Cron <pat@wahoo> echo "date _
/bin/sh: -c: line 1: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 2: syntax error: unexpected end of file

enclosing back-tic string in double/single quotes does not make any
difference.
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery

< Previous Next >