---
title: 01K
url: 'https://getgrav.org/forum/u/01K'
markdown: 'https://getgrav.org/forum/u/01K.md'
date: '2026-06-21'
---

#  01K Regular 

 @01K · Joined 7 years ago · 130 posts · 26 topics · 9 reputation

## Badges

 ✏️ First Post 💬 Conversation Starter 

## Recent posts

- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-41096) · 11 months agoThat would be too complicated for such a simple task. I run similar scripts for components which have been used on other CMS platforms for years. Fingers crossed 🙂 Thank you for the suggestions!
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-41093) · 11 months agoFor instance, if someone will need this: &lt;?php $secret = 'CHANGE\_ME\_12345'; if (!isset($\_GET\['token'\]) || $\_GET\['token'\] !== $secret) { http\_response\_code(403); echo json\_encode(\['success
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40970) · 1 year ago@pamtbaau: Curious about your use-case that prohibits you to to use Admin to clear the cache. If you really have to exclude Admin… create a plugin catch the url you’re calling from CPanel (can be any
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40968) · 1 year agoSince I can’t run shell commands on this shared hosting, a small PHP script that calls Grav’s cache clear API internally would be ideal
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40967) · 1 year agoI think the misunderstanding is here: On my shared hosting, the cron tool does not allow running commands like php bin/grav scheduler — there’s no command field, only a URL field (as shown in my scree
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40964) · 1 year agoThanks, but that’s exactly my point — on shared hosting I can’t run CLI commands like bin/grav cache-clear or bin/grav scheduler. The only thing I can do is execute a PHP script from inside CPanel (fo
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40960) · 1 year agoHi, In my CPanel, I’m able to run the PHP script, which could trigger further operations. So, I need a php script which could launch the clear cache regular process
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40951) · 1 year agoRead carefully: “Clear cache with CLI on a shared hosting” Of course I know about the button on backend, it's not related to my question
- [Clear cache with CLI on shared hosting](https://getgrav.org/forum/general/clear-cache-with-cli-on-shared-hosting-t8996#post-40946) · 1 year agoHI, I’m running the Grav CMS on shared hosting, so there is no possibility to run the command “bin/grav clear-cache“ Has someone used the PHP script to clear the cache on shared hosting?
- [Upgrade from 1.7.48 to 1.7.49.3 Fails using dashboard](https://getgrav.org/forum/support/upgrade-from-1-7-48-to-1-7-49-3-fails-using-dashboard-t5358#post-40712) · 1 year agoall the same, also posted on GitHub, no solution yet
