• hi,
    i have a page that updated with cronjob, now i want to delete cache with this process. how i can delete cache with cronjob.
    which file or function delete caches?
    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can delete Cache Enabler’s cache with a cron job similar to the following:

    */1 * * * * rm -rf /path/to/your/wordpress/wp-content/cache/cache-enabler/

    Thread Starter hogava

    (@hogava)

    My host panel is DirectAdmin and not suppoert this command.
    which php file must be execute for deleting cache?

    There is no PHP file that needs to be executed. You might want to check with your hosting provider to see if they can re-create something similar from the cron job above that would work with your setup.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘delete cache with cronjob’ is closed to new replies.