[rt-users] rt-crontool question..

2012-06-21 Thread Glenn E. Sieb
So I have a bunch of queues here. I want to set up rt-crontool to send out the Hey--this ticket is more than xx hours old! Do something! emails to the AdminCCs of the queues in question. My question is, I have a bunch of queues for one department, that all begin with a pattern (say, CS-). Is

Re: [rt-users] rt-crontool question..

2012-06-21 Thread Kenneth Crocker
Glenn, you don't have to necessarily do this with Cronjob. RT has Dashboards that can run Queries on a scheduled basis and send the results to whomever you want. Try creating a Search or series of searches, depending on who is responsible for what Queues/Tickets, and then saving those searches

Re: [rt-users] rt-crontool question

2012-02-08 Thread Mark Fuller
-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Tuesday, February 07, 2012 5:33 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] rt-crontool question /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL

Re: [rt-users] rt-crontool question

2012-02-08 Thread Thomas Sibley
On 02/08/2012 09:58 AM, Mark Fuller wrote: Correct but Owner does not work neither does anything I seem to enter this is the error with Owner [error]: 'Owner' is not principal id, group name, user name, user email address or any email address

Re: [rt-users] rt-crontool question

2012-02-07 Thread Mark Fuller
Ok I changed everything and still get errors /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg Status = 'open' --condition RT::Condition::UntouchedInHours --condition-arg '1'--action RT::Action::NotifyGroup --action-arg '$owner' --template '21' --transaction 'last'

Re: [rt-users] rt-crontool question

2012-02-07 Thread Kevin Falcone
On Tue, Feb 07, 2012 at 02:43:50PM -0500, Mark Fuller wrote: Ok I changed everything and still get errors /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg Status = 'open' --condition RT::Condition::UntouchedInHours --condition-arg '1'--action RT::Action::NotifyGroup

Re: [rt-users] rt-crontool question

2012-02-07 Thread Mark Fuller
I am trying to get it to notify whoever the owner of the ticket is and that is from what I can see is the variable for the tickets owner mark RT Training Sessions (http://bestpractical.com/services/training.html) * Boston March 5 6, 2012

Re: [rt-users] rt-crontool question

2012-02-07 Thread Kevin Falcone
/opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg Status = 'open' --condition RT::Condition::UntouchedInHours --condition-arg '1'--action RT::Action::NotifyGroup --action-arg '$owner' --template Is there a space between '1' and --action? If not, the command isn't

[rt-users] rt-crontool question

2012-02-03 Thread Mark Fuller
I have 3 things we did from cron we updated to 4.0.2 from 3.6 and they don’t work now. Can someone advise what I have to change ## At 3 am everyday send a notification to the requestors of tickets in custpndng untouched for 3 days 30 3 */1 * * root /opt/rt4/bin/rt-crontool --search

Re: [rt-users] rt-crontool question

2012-02-03 Thread Kevin Falcone
On Fri, Feb 03, 2012 at 01:39:15PM -0500, Mark Fuller wrote: I have 3 things we did from cron we updated to 4.0.2 from 3.6 and they don*t work now. Can someone advise what I have to change ## At 3 am everyday send a notification to the requestors of tickets in custpndng untouched

Re: [rt-users] rt-crontool question

2012-02-03 Thread Mark Fuller
- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Friday, February 03, 2012 2:01 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] rt-crontool question On Fri, Feb 03, 2012 at 01:39:15PM -0500, Mark

Re: [rt-users] rt-crontool question

2012-02-03 Thread Kevin Falcone
. -kevin -Original Message- From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone Sent: Friday, February 03, 2012 2:01 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] rt-crontool question On Fri, Feb