Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

No permission to create posts
mail_open
Re-Index Cron Jobs
Avatar
Matthew Ogborne

Founder
January 3, 2015 - 11:32 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Howdy Dimitri,

Yep by the looks of it.

Take a look at the code here https://github.com/akira28/magento-utils/blob/master/shell/cleanCache.php and there are sub functions for them all

–clean <cache> Clean <cache>. Any of [image|data|stored|js_css|files]
or
all Clean all caches

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Dimitri
Member
January 3, 2015 - 11:39 pm
Member Since: November 26, 2013
Forum Posts: 110
sp_UserOfflineSmall Offline

Awesome, didn’t notice options at first. Thank you.

Avatar
Matthew Ogborne

Founder
January 3, 2015 - 11:48 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Howdy Dimitri,

Neither did I until I checked again doh!

You should be able to make it work by running it like this:

php /path/to/the/script/cleanCache.php –clean image

or

php /path/to/the/script/cleanCache.php all

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Dimitri
Member
January 3, 2015 - 11:57 pm
Member Since: November 26, 2013
Forum Posts: 110
sp_UserOfflineSmall Offline

I am after ‘Blocks HTML output’ option. Not sure how to do this one… yet.

Also, seems as if script file must be saved in SHELL directory for it to work as it requires abstract.php.

Avatar
Matthew Ogborne

Founder
January 4, 2015 - 12:06 am
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Dimitri,

Daft question, you getting that Blocks HTML output error message after loading products via Magmi?

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Dimitri
Member
January 4, 2015 - 12:08 am
Member Since: November 26, 2013
Forum Posts: 110
sp_UserOfflineSmall Offline

Either magmi upload or every time we update product qty manually.

Dimitri
Member
January 4, 2015 - 12:37 am
Member Since: November 26, 2013
Forum Posts: 110
sp_UserOfflineSmall Offline

looks like ‘files’ option takes care of this for me. Happy days.

So i have it clean all cache in the morning

35 2 * * * php /home/XXXXXXX/public_html/shell/cleanCache.php –all > /dev/null 2>&1

and refresh all cash type a bit more often

10 * * * * php /home/XXXXXXX/public_html/shell/cleanCache.php –clean files > /dev/null 2>&1

very nice find, this script, thank you.

Avatar
Dave Furness

Founder
January 4, 2015 - 8:58 am
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Glad it’s working well for you Dimitri :)

Dave

Every expert was once a beginner

Dom Rand
Member
May 28, 2015 - 10:39 am
Member Since: April 2, 2014
Forum Posts: 219
sp_UserOfflineSmall Offline

I know this old but what is the correct command for the clear cache all

is it

clearcache.php -all

cleaarcache.php all

"Dont believe everything you read on the internet just because there is a picture with a quote next to it" Abraham Lincoln

No permission to create posts

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
41 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5221

Posts: 27483

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606