in reply to perl script works at command but job does not work
It could be a permissions problem. This is often the case when the same code works in one environment (e.g., the command line) but not another (e.g., crontab, cgi, or what-have-you). Did you check the return value of system? If not, try doing that, thusly:
This should at least make the job fail, hopefully with a useful error message, rather than letting the job succeed even though the system calls fail.system($command, @args) && die "System call to $command failed: $ +!";
I don't know what tivoli meastro is, though. If it turns out to be something peculiar to that, you might have to ask on a tivoli meastro forum.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl script works at command but job does not work
by tirwhan (Abbot) on Nov 15, 2006 at 15:11 UTC | |
by jonadab (Parson) on Nov 15, 2006 at 16:32 UTC | |
by blazar (Canon) on Nov 16, 2006 at 15:00 UTC | |
by tirwhan (Abbot) on Nov 16, 2006 at 15:38 UTC | |
|