Re: syntax problem with cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Sep 2004, Alexander Dalloz wrote:

> Am Mi, den 08.09.2004 schrieb dballester@xxxxxxxxxxxxxx um 14:53:
> 
> > put all in one shell script an call this shell
> 
> > David Ballester Montolio
> 
> man 5 crontab:
> 
>        SHELL variable of the cronfile.   Percent-signs  (%)  in  the 
> command,
>        unless escaped with backslash (\), will be changed into newline
> charac-
>        ters, and all data after the first % will be sent  to  the 
> command  as
>        standard input.
> 
> Why not reading the docs and doing what its saying? I prefer going the
> straight way than going such "workarounds".

What workaround?  The "straight way", as you put it, would be to do it ina  
script, so that, if you just want to modify what the cron job does, and 
now when it does it, you just edit the script.  Putting multiple commands 
in a crontab entry often just winds up with an unreadable crontab entry.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux