Mailinglist Archive: opensuse-bugs (5569 mails)

< Previous Next >
[Bug 722582] New: home:lrupp:request-tracker/request-tracker: Enhancement script to clean mason cache
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 6 Oct 2011 20:45:27 +0000
  • Message-id: <bug-722582-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=722582

https://bugzilla.novell.com/show_bug.cgi?id=722582#c0


Summary: home:lrupp:request-tracker/request-tracker:
Enhancement script to clean mason cache
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: P5 - None
Component: 3rd party software
AssignedTo: lrupp@xxxxxxxx
ReportedBy: darin@xxxxxxxxxx
QAContact: opensuse-communityscreening@xxxxxxxxxxxxxxxxxxxxxx
Found By: ---
Blocker: ---


Occasional the need arises to clean the mason cache, as described in
http://requesttracker.wikia.com/wiki/CleanMasonCache. This is a simple little
script I've been using for this purpose.

###BEGIN###

#!/bin/sh
#
# Simple script to purge the mason cache
# http://requesttracker.wikia.com/wiki/CleanMasonCache

CACHE_DIR=/var/cache/request-tracker/mason_data

if [ ! -d $CACHE_DIR ]; then
echo "Nothing to clean, the mason cache directory does not exist"
exit 1
fi

find $CACHE_DIR -type f -exec rm -f {} +

echo "Apache must be restarted!"

exit 0

###END###

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >