Hi all in forum.
In my perl script i try to examine $? variable value:
---
system(""
;
$exit_value = $? >> 8;
if( $exit_value == 0 ){
...
}
When I run the script from command line, $? returns correct value.
But smth. goes wrong when the script is executed by cron (daemon to execute scheduled commands).
Any ideas?
Thanks,
Yura.
In my perl script i try to examine $? variable value:
---
system(""
$exit_value = $? >> 8;
if( $exit_value == 0 ){
...
}
When I run the script from command line, $? returns correct value.
But smth. goes wrong when the script is executed by cron (daemon to execute scheduled commands).
Any ideas?
Thanks,
Yura.