All,

  Not sure what I am doing wrong!  I have the following code that 
retrieves entries when run from the command line, but not from a crontab 
entry.

my $c = ars_Login(&CCACHE::SERVER, &CCACHE::USERNAME, &CCACHE::PASSWORD);
my $query    = qq/('800006010' = "Problem" OR '800006010' = 
"Informational") AND '800000101' = "$date"/;

($qual = ars_LoadQualifier($c, $schema, $query));

# Get Requests
my (%entries = ars_GetListEntry($c, $schema, $qual, 0, 0)) ;

if ( %entries ) {
   my (%values, %ticket);
   foreach $entry_id (sort keys %entries) {
   }
}
else { #nothing returned }

The only thing I could think of was a path difference, however, I set 
$ENV{'PATH'} = to the same as the shell path.

Any help is greatly appreciated.

Brad

-- 
Brad O'Hara                         E-mail:  [EMAIL PROTECTED]
IT Expert                            Voice: (352)392-2061
Computing and Networking Services   Suncom: 622-2061
University of Florida                  Fax: (352)392-9440


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Arsperl-users mailing list
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to