[wpkg-users] Variables %SOFTWARE% without wpkg client
r.meier at wpkg.org
Thu May 19 18:24:47 CEST 2011
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
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.
More information about the wpkg-users