Post by yubnub » Thu Jul 26, 2012 4:52 am

Hi Jay,

Just a quick question,

Is it possible to clear the Cache via a cron job?

I update the stock levels on my site via an XML feed that my EPOS software in my physical shop generates.

Once the script has run and updated the database i will obviously need to clear the cache for the new results to be displayed to all,

thanks,

anthony

New member

Posts

Joined
Mon Nov 28, 2011 1:38 am

Post by JAY6390 » Thu Jul 26, 2012 4:55 am

Hi Anthony

Yes you can. You will need to run

Code: Select all

rm -f /full/path/to/your/pagecache/cachefiles/
as the command, setting the path to the correct folder

Kind regards
Jay

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by yubnub » Thu Jul 26, 2012 5:07 am

cheers Jay,

You are a legend :)

New member

Posts

Joined
Mon Nov 28, 2011 1:38 am
Who is online

Users browsing this forum: No registered users and 7 guests