Dear List,

It seems a silly one, anyway I'm somewhat confused about how to pass parameters from the UNIX command line:

Suppose I have my working PERL script and passed parameter on an URL as:

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

How can I tell the procedure to consider cust_id=x as it's input ?

Many thanks indeed for your patiente.

Fabian.

Reply via email to