This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
1,078 Views 3 Replies Last post: Nov 25, 2008 3:14 PM by LG RSS
DisabledLeopard Bronze 1 posts since
Nov 4, 2008
Currently Being Moderated

Nov 4, 2008 11:54 PM

clearing caches from command line

I'm looking for a way to clear caches via the command line (Linux).

 

I've trawled the discussions here, and google a bit and not been able to find anything - I'm hoping someone's got themselves a nice little script they may share. I started digging through the java docs to write one myself but quickly realised that I'm so out of practice with Java that it'll be a non-trivial project for me to do that - though it would be interesting & fun little project should I have to go that way - just don't want to re-invent the wheel.

 

TIA

Tags: ldap, roster, users, cache
Coolcat KeyContributor 784 posts since
Mar 19, 2007
Currently Being Moderated
Nov 5, 2008 1:03 AM in response to: DisabledLeopard
Re: clearing caches from command line

I don't think that such a script does exists.

Ryan Graham KeyContributor 1,877 posts since
Jan 17, 2003
Currently Being Moderated
Nov 6, 2008 8:58 AM in response to: DisabledLeopard
Re: clearing caches from command line

Hi DisabledLeopard,

 

As CoolCat said such a script doesn't exist and in order to accomplish what you're looking to do some Java would most likely be involved. Can explain why you're wanting to clear the caches? Perhaps there is another solution to your problem that would avoid the issue altogether.

 

Thanks,
Ryan

LG KeyContributor 5,452 posts since
Dec 13, 2005
Currently Being Moderated
Nov 25, 2008 3:15 PM in response to: DisabledLeopard
Re: clearing caches from command line

Hi,

 

I suppose that perl is installed and using a perl script is also fine for you. You could use http://www.igniterealtime.org/community/docs/DOC-1121 as a base and modify the script.

 

LG

More Like This

  • Retrieving data ...

Bookmarked By (0)