Scheduling cache folder cleanup
-
Hello, thank you for the great plugin.
Is there a way to schedule a cleanup of the cache folder from inside WordPress?
Alternatively, could you tell me where, in your plugin files, I could safely add a “insert(‘myscript.php’);” line to have some code executed before the plugin runs?
The code would check the current date against a value stored in a database and eventually empty the cache folder if criteria are met. I’d do this without the need of WP to be loaded, minimising the added overhead.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Scheduling cache folder cleanup’ is closed to new replies.