Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2018-08-02 14:07:25

arjoni
Member
Registered: 2015-12-10
Posts: 86

Clean cache via CLI

Is it possible to clean cache using a CLI command? I want to automate updates.

Also is it possible to enable/disable cache the same way?

Thanks

Offline

#2 2018-08-02 14:09:14

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Clean cache via CLI

Hi,

You can clean cache using this command

php cron.php -s site_admin -c cron/util/clear_cache

Offline

#3 2018-08-04 09:36:55

arjoni
Member
Registered: 2015-12-10
Posts: 86

Re: Clean cache via CLI

Thanks. What about disabling/enabling the cache?

Offline

#4 2018-08-05 14:53:49

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Clean cache via CLI

Hi,
Only through manually editing setting file smile

Offline

Board footer