[request-tracker-maintainers] Cron jobs

Niko Tyni ntyni at debian.org
Thu Dec 3 19:06:25 UTC 2009


On Tue, Dec 01, 2009 at 09:46:11PM +0000, Dominic Hargreaves wrote:
> I've noticed that RT3.8 comes with some suggested cron jobs which are
> effectively required for some of the functionality within the app to
> act as expected (emailing digests and dashboards). These cron jobs have
> not, so far, been shipped with the Debian package.
> 
> I'd like to add these, as I think the expectations are that the
> application should work as designed out of the box, but I'm aware that
> some people might not want the cron job enabled. For example, I myself
> won't want them to run during the migration of a database to a new
> system.

I assume they are no-ops on an unconfigured system?

> So, does anyone have any opinions on the following possibilities:
> 
> 1 add them in a normal config file, and leave for the user to disable
>   if they want
> 2 add them in a normal config file, commented out, and let the user
>   know they need to enable them to get the full functionality
> 3 generate the cron job file based on the response to a debconf question
>   about whether they should be enabled (has the advantage that we could
>   ask about the user to run the cron jobs as - would default to www-data)
> 4 something else?

I think it's a bit of borderline case between 1 and 3.

The debconf thing allows for more flexibility - maybe set the default
based on whether dbconfig-common is opted in? That way people who don't
want anything automagical to happen should be content and the rest would
have a working system out of the box.

Medium priority for the enabling question and low priority for the cron job
user would seem appropriate to me.
-- 
Niko



More information about the pkg-request-tracker-maintainers mailing list