Small update to rt-crontool

Using the instructions/updates in

http://rt3.fsck.com/Ticket/Display.html?id=5316&user=guest&pass=guest
(which I can no longer access as guest :slight_smile:

I have managed to get rt-crontool to send out email. I also updated
rt-crontool to look in the /usr/local hierarchy before the main rt
dirs for rt modules so that local modules are used before the main ones.
I think this fits in with the local vs official rt module/modification
idea more cleanly than the current situation.

I have included the small patch to do this, in the hopes it may be
integrated into the official rt source. The patch is against 3.0.11, but
should apply cleanly to almost anything.

Any feedback appreciated.
Thanks

rt-crontool.patch (303 Bytes)

Apologies for responding to myself.

I have attached an updated patch that also includes the changes to make
rt-crontool actually work with templates, which we also require (and
without which my previous patch is pretty useless)

This change was actually part of (i.e included as an attachment, iirc)
the request/issue I referred to previously,
but I include it here with my other change in diff/patch format for ease
of application.

Thanks

rt-crontool.patch (547 Bytes)

Have you looked at the current crontool in subversion? We’ve recently addded somethig much like that…
Jesse-----Original Message-----

From: "Rudolph Pereira"rudolph@usyd.edu.au
Sent: 9/5/04 7:55:16 PM
To: "rt-devel@lists.bestpractical.com"rt-devel@lists.bestpractical.com
Subject: [Rt-devel] Re: small update to rt-crontool

Apologies for responding to myself.

I have attached an updated patch that also includes the changes to make
rt-crontool actually work with templates, which we also require (and
without which my previous patch is pretty useless)

This change was actually part of (i.e included as an attachment, iirc)
the request/issue I referred to previously,
but I include it here with my other change in diff/patch format for ease
of application.

Thanks

Have you looked at the current crontool in subversion? We’ve recently addded somethig much like that…
Thanks. The reordering of the “use lib” dirs doesn’t seem to be in
3.3-testing though - but perhaps SendEmail has been fixed to not require
local customisations to work through rt-crontool ? (haven’t actually
checked)