Hello,
I am trying to create a Visual Cron job that executes a command.
The command invokes java with some parameters. One of them depends on an environmental variable.
The command looks like:
Command: c:\tools\jdk8\jre\bin\java.exe
Arguments: -jar job-v{GETENV(VAR_NAME)}.jar
I can see from the variables window that the environmental variable is resolved correctly.
When I executed the command c:\tools\jdk8\jre\bin\java.exe -jar job-v%VAR_NAME%.jar from a windows shell it worked.
When I trigger the job from VisualCron I am getting an error that suggests that the command was somehow invoked in an incorrect manner.
If I exclude the environmental variable and I tweak the filename and I trigger the execution from Visual Cron the command is executed correctly.
It seems that there's a problem.
How can I see the actual command that VisualCron executes?
Is there a way to see what causes the error?
Edited by user
2018-10-19T12:14:18Z
|
Reason: Not specified