[rt-users] Cron Issues....

Jeff Stark JStark at sumtotalsystems.com
Wed Jul 11 12:06:34 EDT 2007


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 that I am
missing here.
 
 
#!/bin/sh
 
/opt/rt3/bin/rt-crontool --search RT::Search::FromSQL  --search-arg "(
Status = 'new' OR Status = 'open' OR Status = 'stalled' ) AND  (
'CF.{Severity Level}' LIKE 'Sev 2  (Premier Support ONLY)' ) AND  (
'CF.{Customer}' NOT LIKE '%(p)' AND 'CF.{Customer}' NOT LIKE '%(ep)' )"
--action RT::Action::DemotePremierLevel
 
 
Thanks,
 
 
-Stark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070711/d8fab693/attachment.htm>


More information about the rt-users mailing list