[wpkg-users] Variables %SOFTWARE% without wpkg client
LAPLAUD François
laplaud at sdis72.fr
Fri May 20 08:59:53 CEST 2011
Hi,
Thanks for your suggestions. I will try both.
Laplaud François
-----Message d'origine-----
De : Rainer Meier [mailto:r.meier at wpkg.org]
Envoyé : jeudi 19 mai 2011 18:25
À : LAPLAUD François
Cc : wpkg-users at lists.wpkg.org
Objet : Re: [wpkg-users] Variables %SOFTWARE% without wpkg client
Hi,
On 19.05.2011 14:22, LAPLAUD François wrote:
> Thanks for this suggestion.
> In fact my scheduled task is already running a bath calling wpkg.js.
>
> I would have preferred to not set my env var here since this batch is running locally.
>
> Anyway, I will certainly choose this solution since my batch is deployed via WPKG itself.
You might just call a cmd file on the server instead of running wpkg.js
directly. Simply use
call "\\path\to\wpkg.cmd"
instead of
start [...] wpkg.js
This way you can adapt the environment without having to update the local cmd
script each time you have to change the paths.
Another possibility is profile-based variables which are set by wpkg.js as
suggested by Malte.
br,
Rainer
More information about the wpkg-users
mailing list