[CS-FSLUG] How to run a cron script?
Warren Sanders
warren at sandersonline.org
Mon Jan 24 17:43:41 CST 2005
Jerry VanBrimmer wrote:
> On Fri, Dec 31, 2004 at 01:43:42PM -0800, Jerry VanBrimmer wrote:
>
>>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.
>
>
> Well, that didn't work. :-(
>
>
>
Sorry to bring this back from the past. Finally caught up with reading email.
Couple questions: Is this the crontab for root or your user? Secondly, have you
tried without the logging? Thirdly, you restarted crond after 'crontab -e' correct?
--
Warren Sanders
Family Photo Galleries
http://SandersOnline.org
More information about the Christiansource
mailing list