>>>>> "Arun" == Arun Khan <[EMAIL PROTECTED]> writes:

    Arun> The following works fine from the CLI: # /usr/bin/killall -9
    Arun> wget && echo "It is `date +'%a %R'`, all wget jobs
    Arun> terminated... "

    Arun> but gives me error when invoked from /etc/crontab (the entry
    Arun> is one line though it appears in 2 lines due to auto
    Arun> wrapping in the MUA):

    Arun> 59 09 * * 1-6 root /usr/bin/killall -9 wget && echo "It is
    Arun> `date +'%a %R'`, all wget jobs terminated... "

% translates to the newline character in crontabs.  Escape it with \
if you want a literal % character.

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves


-------------------------------------------------------
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

Reply via email to