On Mon, 10 Feb 2003 05:12, magnet wrote:
> On Sunday 09 Feb 2003 3:47 pm, Greg Meyer wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Sunday 09 February 2003 10:28 am, magnet wrote:
> > > Hi Derek,
> > > Ok, that's a good start. Means I can keep all the vcr scripts in one
> > > place. I have/use webmin all the time for various other stuff across
> > > all 6 machines but am a little confused with the setup boxs so a little
> > > more help would be appreciated.
> > > In webmin I have clicked on Create Cron Job...
> > > Execute cron job as "magnet"        <-- username
> > >
> > >
> > > Command... I'm assuming this is the full path to my script?
> >
> > Yes
> >
> > > Input to command... Is this where you can pass params to your script if
> > > needed?
> >
> > Yes
> >
> > > When to execute seems fairly straightforward :)
> >
> > Yes
> > - --
> > Greg
>
> Hmm, so why isn't it working??? I've chmod the script to 755 just to
> confirm there were not exec restrictions in force.
>
> Here is my shell output
>
> [magnet@linux1 magnet]$ ./drive1/magnet/vcr/test.sh
> bash: ./drive1/magnet/vcr/test.sh: No such file or directory
>
> Any clues what Ive done wrong?

Putting ./ infront of a file means in "this" directory.

If "drive1" is in root, and if the cd is "/drive1/magnet", then 
"./drive1/magnet/vcr/test.sh" means 
"/drive1/magnet/drive1/magnet/vcr/test.sh" and test.sh wont be found. Try 
"/drive1/magnet/vcr/test.sh" wothout the dot in front.
-- 
Michael

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to