Re: running scripts (manual and auto)

1999-05-16 Thread J Horacio MG
John Hasler dixit: ~> J Horacio MG writes: ~> > - start script - ~> > #/bin/sh ~> ~> > fetchmail -f /home/horacio/.fetchmailrc -a -u a4608456 ~> ~> > runq ~> > - end script - ~> ~> That first line should read #!/bin/sh . Sorry for the typo... the script is correct though (but do

Re: running scripts (manual and auto)

1999-05-16 Thread John Hasler
J Horacio MG writes: > - start script - > #/bin/sh > fetchmail -f /home/horacio/.fetchmailrc -a -u a4608456 > runq > - end script - That first line should read #!/bin/sh . -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED] Do w

Re: running scripts (manual and auto)

1999-05-16 Thread David B.Teague
On Sun, 16 May 1999, Kent (ktb) wrote on behalf of Horacio: Horacio: > > but how can I make it ran as a normal command (without "./"). Kent: > I place my Perl scripts in /usr/local/bin. I would think that would > work for you. I can't help you with the next one:( > hth, > kent Horacio: If y

Re: running scripts (manual and auto)

1999-05-16 Thread Shao Zhang
Hi, I cannot explain why your case does not work. But I think it is more convient to use the fetchmail in the following way. put a fetchmail, like your script in /etc/ppp/ip-up.d/. and then put a fetchmailrc mail in your root directory, and run fetchmail as root.

Re: running scripts (manual and auto)

1999-05-16 Thread ktb
J Horacio MG wrote: > > I usually download mail from my ISP by running the following command as > user horacio: > > $ fetchmail -v -a -u my_id > > and I just created a script with that line and named it > /home/horacio/getmail: > > - start getmail - > #!/bin/sh > > fetchmail -v -a -u m

running scripts (manual and auto)

1999-05-16 Thread J Horacio MG
I usually download mail from my ISP by running the following command as user horacio: $ fetchmail -v -a -u my_id and I just created a script with that line and named it /home/horacio/getmail: - start getmail - #!/bin/sh fetchmail -v -a -u my_id - end getmail - and gave it execu