Clearing the cache manually

Hello, please tell me how to clear the cache manually?
I want to make a script that will clear the cache every hour or so!

The numba and Python caches? Those are only used once it starts up, you can’t clear them while the software is already running.

If for some reason you want to clear the cache on every startup, just edit /boot/ and edit the last line by adding the “-c” cache clear flag.

./ -c