Unix and Linux Discussions Tagged with older |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
9,446 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
10,833 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
9,504 |
Shell Programming and Scripting |
|
|
|
8 |
3,618 |
AIX |
|
|
|
3 |
2,281 |
Shell Programming and Scripting |
|
|
|
7 |
8,758 |
Solaris |
|
|
|
2 |
53,953 |
Shell Programming and Scripting |
|
|
|
1 |
3,587 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,098 |
Shell Programming and Scripting |
|
|
|
3 |
7,428 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
16,990 |
Shell Programming and Scripting |
|
|
|
3 |
8,643 |
Shell Programming and Scripting |
|
|
|
0 |
2,207 |
Shell Programming and Scripting |
|
|
|
4 |
9,904 |
Shell Programming and Scripting |
|
|
|
1 |
16,464 |
Shell Programming and Scripting |
|
|
|
2 |
22,537 |
Shell Programming and Scripting |
|
|
|
1 |
3,674 |
Shell Programming and Scripting |
|
|
|
3 |
21,118 |
AIX |
|
|
|
9 |
5,385 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
114,227 |
Shell Programming and Scripting |
|
|
|
5 |
18,280 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,802 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
36,167 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
47,844 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,773 |
Programming |
|
|
|
1 |
2,801 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,166 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
16,320 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,356 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,432 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,152 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,098 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
3 |
5,914 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,770 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
61,322 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
10,268 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
18,796 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,515 |
AIX |
|
|
|
1 |
18,775 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,175 |
UNIX for Dummies Questions & Answers |
rt-clean-sessions(8) Request Tracker Reference rt-clean-sessions(8)
NAME
rt-clean-sessions - clean old and duplicate RT sessions
SYNOPSIS
rt-clean-sessions [--debug] [--older <NUM>[H|D|M|Y]]
rt-clean-sessions
rt-clean-sessions --debug
rt-clean-sessions --older 10D
rt-clean-sessions --debug --older 1M
rt-clean-sessions --older 10D --skip-user
DESCRIPTION
Script cleans RT sessions from DB or dir with sessions data. Leaves in DB only one session per RT user and sessions that aren't older than
specified(see options).
Script is safe because data in the sessions is temporary and can be deleted.
OPTIONS
older
Date interval in the "<NUM>[<unit>]" format. Default unit is D(ays), H(our), M(onth) and Y(ear) are also supported.
For example: "rt-clean-sessions --older 1M" would delete all sessions that are older than 1 month.
skip-user
By default only one session per user left in the DB, so users that have sessions on multiple computers or in different browsers will be
logged out. Use this option to avoid this.
debug
Turn on debug output.
NOTES
Functionality similar to this is implemented in html/Elements/SetupSessionCookie ; however, that does not guarantee that a session will be
removed from disk and database soon after the timeout expires. This script, if run from a cron job, will ensure that the timed out
sessions are actually removed from disk; the Mason component just ensures that the old sessions are not reusable before the cron job gets
to them.
perl v5.14.2 2013-05-22 rt-clean-sessions(8)