Re: [Perl-unix-users] Deciding on route by domain

2002-11-21 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: How do you tell the url calling the script? I want to change some of my programs to respond differently based on domain but function the same. For instance, if I have a script running on www.a.com www.b.com www.c.com and want it to d

Re: [Perl-unix-users] Deciding on route by domain

2002-11-21 Thread jna
> [EMAIL PROTECTED] wrote: > > How do you tell the url calling the script? > > > > I want to change some of my programs to respond differently based on domain > > but function the same. For instance, if I have a script running on www.a.com > > www.b.com www.c.com and want it to differentiate by

RE: [Perl-unix-users] OT cygwin question

2002-11-21 Thread Terry Vaughn
Nicely done. The -c option was what I needed. I will explore the crontab options as well. Thankyou all. Terry >>> "chengkai" <[EMAIL PROTECTED]> 11/21/02 01:10AM >>> You can also wrap the bash -c your_perl_script in the cmd file and run that cmd file from the at schedule. That would work. ~M

Re: [Perl-unix-users] Deciding on route by domain

2002-11-21 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: How do you tell the url calling the script? I want to change some of my programs to respond differently based on domain but function the same. For instance, if I have a script running on www.a.com www.b.com www.c.com and want it to differentiate by saying a certain functi

[Perl-unix-users] Deciding on route by domain

2002-11-21 Thread jna
How do you tell the url calling the script? I want to change some of my programs to respond differently based on domain but function the same. For instance, if I have a script running on www.a.com www.b.com www.c.com and want it to differentiate by saying a certain function would act different bas

RE: [Perl-unix-users] OT cygwin question

2002-11-21 Thread Craig B. Nakata
Terry, I believe the tar command can run in the command prompt also and it doesn't need to run in the bash shell. Also I think the system command (in Perl) uses a bash shell to execute your command. If there is a cygwin has a cron function you will need to create a crontab file Example: # minut