Finding out the file name

2002-11-18 Thread Octavian Rasnita
Hi all, I am getting an HTML page from the net using the LWP module. If I specify the full link, including the file name it is all right. However, sometimes I specify only the directory name like http://www.site.com/ Well, in this case I want to find out the name of the file that will be downloa

Re: Running a Perl program countinuously

2002-11-18 Thread Octavian Rasnita
Thank you. Please tell me how can I verify if the process is running. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Christopher G Tantalo" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Mond

Re: Running a Perl program countinuously

2002-11-18 Thread Octavian Rasnita
No, unfortunately I don't have root access. Thank you for telling me about this option. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "Mat Harris" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent

Re: Running a Perl program countinuously

2002-11-18 Thread Octavian Rasnita
Yes I know this but if the root will restart the server, the program won't restart. Or, ... other problems might kill my program. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "J. Alejandro Ceballos Z." <[EMAIL PROTECTED]> To: "beginners-c

Re: Running a Perl program countinuously

2002-11-18 Thread Christopher G Tantalo
"J. Alejandro Ceballos Z." wrote: > Octavian Rasnita wrote: > > >Hi all, > > > >I want to make a Perl program that runs permanently without stopping. > >How can I do this? > > > > > > > via shell loop> > > while true > do > the program > done that will spawn a new process off every iteratio

Re: Running a Perl program countinuously

2002-11-18 Thread J. Alejandro Ceballos Z.
Octavian Rasnita wrote: Hi all, I want to make a Perl program that runs permanently without stopping. How can I do this? via shell loop> while true do the program done -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Running a Perl program countinuously

2002-11-18 Thread Christopher G Tantalo
Octavian Rasnita wrote: > Hi all, > > I want to make a Perl program that runs permanently without stopping. > How can I do this? > > I could run the program from shell using: > > nohup perl script.pl & > > . but if for some unknown reasons the process will be stopped, it won't > restart automa

Re: Running a Perl program countinuously

2002-11-18 Thread Mat Harris
if you have root access you could run it in inittab On Sun, Nov 17, 2002 at 06:05:43 +0200, Octavian Rasnita wrote: > Hi all, > > I want to make a Perl program that runs permanently without stopping. > How can I do this? > > I could run the program from shell using: > > nohup perl script.pl & >