[CS-FSLUG] How to run a cron script?

Jerry VanBrimmer jevb at runbox.com
Fri Dec 31 15:43:42 CST 2004


On Fri, Dec 31, 2004 at 12:09:37PM -0500, Frank Bax wrote:
> 
> I was thinking about the commands inside rsync_demo.sh, rather than finding 
> rsync_demo.sh itself.

I have added PATH to rsync_demo.sh, here is now the contents of
rsync_demo.sh:

--------Begin contents-------------------------------
#!/bin/bash

PATH=/usr/local/bin:/usr/freeware/bin:/usr/bin:/bin:/home/jerry/bin

rsync -avr
distro.ibiblio.org::distros/slackware/slackware-10.0/patches/packages/
/home/jerry/downloads/slackware/10.0/patches/packages/

exit 0
--------End contents----------------------------------

My editor, vim, wrapped the line beginning with rsync. There are
actually only four lines in the file.

So, now I'll try this for a few minutes and see if it works.


> 
> 

-- 
The KING is coming!..................Rev. 1:7
The bottom line......................John 3:3-7
Linux User #153217..................http://counter.li.org





More information about the Christiansource mailing list