Operating System - HP-UX
1834149 Members
3848 Online
110064 Solutions
New Discussion

“Scheduled Task” policy using perl error

 
Jim Knoll
Frequent Advisor

“Scheduled Task” policy using perl error

I have a 12 line Perl script that does a check. I want the check to happen every minute from 7am to 5pm everyday. The actual schedule may vary as development continues.

I am considering using the “Scheduled Task” policy type. The Perl script uses the system call to opcmsg to send a message if the condition warrants and alert.

The problem is OV reports
scheduled action failed.
Result : 1
Output :
Perl Script execution failed: Can't locate object method "IsSpacePerl" via package "main" (perhaps you forgot to load "main"?) at d:/HP OpenView/Installed Packages/{790C06B4-844E-11D2-972B-080009EF8C2A}/lib/utf8_heavy.pl line 30.
(in cleanup) Can't find unicode character property definition via main->IsSpacePerl or Is/SpacePerl.pl at PerlScript line 13
. (OpC30-750)

SO… I assume I forgot to do something. Any ideas?

Also any comments on using schedule task in this manor. It there a better way to do this? I know I could push the Perl as instrumentation but this seemed like a simple met
1 REPLY 1
Jim Knoll
Frequent Advisor

Re: “Scheduled Task” policy using perl error

I put this post into the HPOVO forum