RE: RE: [rt-users] Cron Issues....

2007-07-12 Thread Jeff Stark
-Resolved.cron: Any thoughts? Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Turner Sent: Wednesday, July 11, 2007 3:55 PM To: RT-Users@lists.bestpractical.com Subject: RE: RE: [rt-users] Cron Issues At Wednesday 7/11/2007 03:50 PM, Jeff Stark

RE: RE: [rt-users] Cron Issues....

2007-07-11 Thread Stephen Turner
At Wednesday 7/11/2007 03:50 PM, Jeff Stark wrote: Thanks, yes, actually I am expecting it to run as root. (I know bad karma to follow) But I am just trying to get it working. I have tried forcing the loading of .bash_profile and have also tried adding the following to the script: export ORACLE

RE: RE: [rt-users] Cron Issues....

2007-07-11 Thread Jeff Stark
mpilation aborted at (eval 207) line 1. Compilation failed in require at /opt/rt3/lib/RT.pm line 201. - Stark -Original Message- From: John BORIS [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 3:43 PM To: RT-Users@lists.bestpractical.com; [EMAIL PROTECTED]; Jeff Stark Su

Re: RE: [rt-users] Cron Issues....

2007-07-11 Thread John BORIS
This might be trivial but make sure the job is running the job as the user you expect. If cron.hourly is being executed as root then it may be reading the wrong files to setup the environment. John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia 222 North 17th Street Philadelp

RE: [rt-users] Cron Issues....

2007-07-11 Thread Stephen Turner
At Wednesday 7/11/2007 02:15 PM, Jeff Stark wrote: Yes, that is defined. I have tried adding .bash_profile to my script...see if that works It's been a long while since I dealt with this issue, but I used to have a file I called ~/.oracle, which set all the Oracle-related env variables. I

RE: [rt-users] Cron Issues....

2007-07-11 Thread Jeff Stark
Yes, that is defined. I have tried adding .bash_profile to my script...see if that works -Original Message- From: Stephen Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 1:44 PM To: Jeff Stark; RT Users Subject: RE: [rt-users] Cron Issues At Wednesday 7/11/2007 01

RE: [rt-users] Cron Issues....

2007-07-11 Thread Stephen Turner
At Wednesday 7/11/2007 01:07 PM, Jeff Stark wrote: Excellent! Had no idea...you are correct, it is Oracle Connectivity that is causing the issue. Any ideas how I solve this? I used the priority escalation script as a template. /etc/cron.hourly/RT-DemotePremier.cron: Unable to load DBIx::Sear

RE: [rt-users] Cron Issues....

2007-07-11 Thread Jeff Stark
IL PROTECTED] Sent: Wednesday, July 11, 2007 12:57 PM To: Jeff Stark; RT Users Subject: RE: [rt-users] Cron Issues At Wednesday 7/11/2007 12:37 PM, Jeff Stark wrote: > >The only item in /var/log/cron is: > >Jul 11 09:01:01 infrt01 crond[23295]: (root) CMD (run-parts >/etc/cron.hou

RE: [rt-users] Cron Issues....

2007-07-11 Thread Stephen Turner
At Wednesday 7/11/2007 12:37 PM, Jeff Stark wrote: The only item in /var/log/cron is: Jul 11 09:01:01 infrt01 crond[23295]: (root) CMD (run-parts /etc/cron.hourly) Is there somewhere else I should look? Thanks, -Stark I think any output (stdout or stderr) from the cron job that isn't expli

RE: [rt-users] Cron Issues....

2007-07-11 Thread Jeff Stark
Stark; RT Users Subject: Re: [rt-users] Cron Issues At Wednesday 7/11/2007 12:06 PM, Jeff Stark wrote: >Hello everyone... > >RT 3.6.3, RHEL, Oracle DB. > >I have a cron job I created in cron.hourly...its pretty simplistic and >the command works great when I run it directly.

Re: [rt-users] Cron Issues....

2007-07-11 Thread Stephen Turner
At Wednesday 7/11/2007 12:06 PM, Jeff Stark wrote: Hello everyone... RT 3.6.3, RHEL, Oracle DB. I have a cron job I created in cron.hourly...its pretty simplistic and the command works great when I run it directly. Being very new to Linux, I was hoping one of you may notice something simple