in reply to perl script not working after moved to new host
system("/home/nagios/stat/scripts/ng_rrd2img.sh $target $node dig $rec +enttimes now 300 130 > $wwwrealpath/tmp/$tmpgraph");
You should always check the exit code of the system command.
my $status = system "..."; if ($status) { die "system error: $?" }
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl script not working after moved to new host
by prabhakard (Novice) on Jan 25, 2016 at 11:31 UTC | |
by bangor (Monk) on Jan 25, 2016 at 11:56 UTC | |
by prabhakard (Novice) on Jan 25, 2016 at 12:09 UTC | |
by bangor (Monk) on Jan 25, 2016 at 12:40 UTC | |
by prabhakard (Novice) on Jan 25, 2016 at 13:58 UTC | |
|