The following works fine from the CLI: # /usr/bin/killall -9 wget && echo "It is `date +'%a %R'`, all wget jobs terminated... "
but gives me error when invoked from /etc/crontab (the entry is one line though it appears in 2 lines due to auto wrapping in the MUA): 59 09 * * 1-6 root /usr/bin/killall -9 wget && echo "It is `date +'%a %R'`, all wget jobs terminated... " -------- Forwarded Message -------- > From: Cron Daemon <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Cron <[EMAIL PROTECTED]> /usr/bin/killall -9 wget && echo "It is > `date +' > Date: Tue, 21 Jun 2005 09:59:01 +0530 (IST) > /bin/sh: -c: line 0: unexpected EOF while looking for matching ``' > /bin/sh: -c: line 1: syntax error: unexpected end of file TIA, -- Arun Khan <[EMAIL PROTECTED]> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
