• Resolved painlessseo

    (@painlessseo)


    Hi your awesome team,

    I’m a first time user and have clue how it works. I installed and plugin, created an event clear_this_cache_folder and set the scheduler to Once Daily.

    I’d assume that I need to manually add the Implementation code to functions.php, right?

    But how to create the actual function and tell the plugin what folder I want it to clear? I expected that the plugin could help ordinary users like me BUILD a cron job.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter painlessseo

    (@painlessseo)

    Also, can the cron job only run when in prior or after another event? I’d like to know if the cron job can only run before All in one WP Migration. I use All in one WP Migration to automatically backup my site and would like to use your plugin to clear the cache folder before the backup occurs. Thank you!

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Yeah, you’d need to build the function yourself, there are no ready to use recipes and there are too many variables. That requires some PHP knowledge for sure.

    There’s no way to chain the cron events, although maybe instead of cron you should hook into one of the All in one WP Migration plugin actions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to use this plugin to clear a cache folder?’ is closed to new replies.