MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Exec a script from command line? "la Caixa" TPVV



******    message to minivend-users from Michel Chamberland <crakrjak@xerxes.com>     ******

you cand use the perl system function

ie: system("jre -cp /directory/of_the/script/javaclasses.zip Ja...");

-------------------------------------------------------------------------------
  Michel Chamberland      
  mike@xerxes.com        
  XERXES inc.           
  http://www.xerxes.com  

- This country, with its institutions, belongs to the people who inhabit
it. Whenever they shall grow weary of the existing Government, they can
exercise their constitutional right of amending it, or their revolutionary
right to dismember or overthrow it.
                                                   Abraham Lincoln

On Thu, 11 Feb 1999, Gustau wrote:

> Date: Thu, 11 Feb 1999 14:28:36 +0100
> From: Gustau <webadmin@senyal.com>
> Reply-To: minivend-users@minivend.com
> To: MiniVend - Lista de correo <minivend-users@minivend.com>
> Subject: Exec a script from command line? "la Caixa" TPVV
> 
> ******    message to minivend-users from "Gustau" <webadmin@senyal.com>     ******
> 
> I am attempting to configure MiniVend so that operate the "la Caixa" TPVV
> module.
> I need to execute an order on the server, but I be don't made it. I believe
> that the better way is using the [perl]...[/perl] tag, but I do not know
> Perl. Someone would help me?
> >From command line I need to execute following:
> 
> jre -cp /directory/of_the/script/javaclasses.zip JavaClass
> /directory/of_the/script variable1:value variable2:[minivend_tag]
> variable3:value ...
> 
> Turned out to be it incrusts in a JavaScript:
> 
> <script language="JavaScript">
>    function tpvlink(orn,importe,moneda){
>    document.location.href="script results";
> }
> </script>
> 
> 
> Thanks and regards!
> 
> ###############################################
> 
> Estoy intentando configurar el MiniVend para que funcione el m&#243;dulo del TPVV
> de "la Caixa".
> Necesito ejecutar una orden en el servidor, pero yo no se hacerlo.
> Creo que la mejor manera es utilizando el tag [perl]...[/perl], pero yo no
> conozco Perl.
> Alguien me podr&#237;a ayudar?
> Desde l&#237;nea de comandos se tendr&#237;a que ejecutar lo siguiente:
> 
> jre -cp /directorio/del/ejecutable/javaclasses.zip JavaClass
> /directorio/del/ejecutable variable1:valor variable2:[minivend_tag]
> variable3:valor ...
> 
> El resultado se incrusta en un JavaScript:
> 
> <script language="JavaScript">
>    function tpvlink(orn,importe,moneda){
>    document.location.href="resultado del script";
> }
> </script>
> 
> Gracias y saludos!
> 
> &#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;
> &#183; Gustavo Dibasson
> &#183; webadmin@senyal.com
> &#183; http://www.senyal.com/
> &#183; PGP KeyID: 0xF3F743C2
> &#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;&#183;
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: