[rt-users] Stall Until

Robie Basak robie at principle.co.uk
Sat Feb 1 19:27:08 EST 2003


On Fri, 2003-01-24 at 19:03, Jim Hickstein wrote:
> > "escalator" from http://www.fsck.com/pub/rt/contrib/2.0/rt-addons/
> > is an example of how to get a cron job to fire off a scrip.
> > The EscalatePriority scrip that it uses shows you how to pull
> > the Due Date from the ticket; use either that or the "Starts"
> > field ($ticket->StartsObj) to designate the time to open.
> 
> Oh!  I hadn't thought about "Starts".  That may well do.  Thanks!

I implemented this a while ago; I can't remember if I got round to
posting my solution or not, so it's attached. This is a script that's
cronned every so often.

(feel free to add to contrib section or whatever)

One caveat though; it depends on the Starts field being correct. If you
set it to the past, or do anything else on the ticket, then it may not
work. I recently found one ticket that had the year 2002 by accident,
and it had not unstalled.

Robie.
-- 
Robie Basak <robie at principle.co.uk>
Northern Principle Limited
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt-autostart
Type: text/x-perl
Size: 2545 bytes
Desc: 
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030202/c8a35020/attachment.pl>


More information about the rt-users mailing list