perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Sebastien Guay" <jean_...@hybride.com>
Subject Re: How to pass parameters from the UNIX command line ?
Date Fri, 08 Aug 2003 13:25:24 GMT
> > http://server.domain.com/cgi-bin/MyProcedure.pl?cust_id=x
> >
> > I'd like to make a cron job to source the above PERL script as from
> > the command line to resemble something like:
> >
> > perl /usr/local/apache/cgi-bin/MyProcedure.pl   << need to pass the
> > parameter here as cust_id=x
>
> [...]
> Or use GET from the commandline with the uri behind it. This
> makes it a proper request to your webserver, issued from the command-
> line (or crontab in this case).

Or 'lynx -source
http://server.domain.com/cgi-bin/MyProcedure.pl?cust_id=x'

J-S

_______________________________________________
Jean-Sébastien Guay                  jean_seb@hybride.com
Software Developer, Hybride         http://www.hybride.com
Piedmont, Québec, Canada



Mime
View raw message