Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rt [2008/04/22 09:56]
a created
rt [2009/05/25 00:35]
Line 1: Line 1:
-====== Request Tracker Tips ====== 
- 
-===== Scripts ===== 
- 
-===== Optimization ===== 
-   * [[http://wiki.bestpractical.com/view/CleanupSessions|Clear Sessions]] 
-   #!/usr/bin/perl                                                                                                                             
-   use lib qw(/usr/share/request-tracker3.6/lib);                                                                                                                   
-   use RT;                                                                                                                                     
-   RT::LoadConfig();                                                                                                                           
-   RT::Init();                                                                                                                                 
-   $RT::Handle->SimpleQuery("delete from sessions where LastUpdated < (now() - interval 24 hour)"); 
- 
- 
- 
  
rt.txt ยท Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready