Changes between Version 1 and Version 2 of PendingTicketPlugin


Ignore:
Timestamp:
May 3, 2007 8:31:24 PM (7 years ago)
Author:
datallah
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PendingTicketPlugin

    v1 v2  
    3939}}} 
    4040 
    41 Install and enable the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds. 
     41Install the !PendingStatusRemovePlugin to have the pending flag automatically removed when the reporter responds. 
     42{{{ 
     43<CHECKOUT THE SOURCE AND GO TO THE 0.10/removependingplugin DIRECTORY> 
     44setup.py bdist_egg 
     45cp dist/RemovePendingStatusPlugin-x-y-z-py2.4.egg $TRAC_ENV/plugins 
     46}}} 
     47You'll also need to enable the Plugin in your `trac.ini` file: 
     48{{{ 
     49[components] 
     50removepending.* = enabled 
     51}}} 
    4252 
    43 To enable the automatic closing of tickets, you'll need to set up a cron task:[[BR]] 
    44 `TODO ADD THIS` 
     53To enable the automatic closing of tickets, you'll need to set up a script to be run by cron.  Mine looks like this:[[BR]] 
     54{{{ 
     55#! /bin/bash 
    4556 
     57TRAC_ENV=/somewhere/trac/project 
     58SCRIPT_DIR=$TRAC_ENV/localscripts 
     59LOGFILE=$SCRIPT_DIR/close_old_pending.log 
     60TRAC_URL=http://trac.mysite.com/project 
     61 
     62date >> $LOGFILE 
     63 
     64python $SCRIPT_DIR/close_old_pending.py -p $TRAC_ENV -d 14 -s $TRAC_URL >> $LOGFILE 2>&1 
     65}}} 
    4666 
    4767