• Resolved littleeloo

    (@littleeloo)


    Hi!

    I have 2 questions is that is ok ?? ( I did not found an answer in excisting topics)

    I see an error in Cron schedules:
    swcfpc_purge_cache_cron_interval 10 (10 seconds)
    This interval is less than the WP_CRON_LOCK_TIMEOUT constant which is set to 60. Events that use it may not run on time.
    WP Cloudflare Super Page Cache – Purge Cache Cron Interval

    How do I fix this?

    And second question:
    I have Preloader enabled for Links in menu and last 20 published and URLs in sitemap. Is that enough? How often does it preload?
    Do I need to make a CRON job? And doe you have code for functions?

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @littleeloo,
    To answer your first question, you can easily overwrite the swcfpc_purge_cache_cron_interval from the default 10 seconds to any number of seconds you like. If you check the FAQ tab in the plugin settings it is clearly mentioned there. Screenshot: https://i.imgur.com/EEeG4D0.png

    You can add the following in the wp-config.php like define('SWCFPC_PURGE_CACHE_CRON_INTERVAL', 60); to set it to 60 seconds instead.

    How often does it preload?

    – If you are not running a preloader cron job, then the preloader will only run when you purge your cache.

    Hope this helps. ??

    Thread Starter littleeloo

    (@littleeloo)

    Thank you for the reply.

    Sorry, newby here…

    Is it necessary to change it?

    Will “swcfpc_purge_cache_cron_interval” work if I don’t touch the WPO-config file and leave it at 10 sec?

    How often do you advice to start preloader?

    Best wishes

    Plugin Contributor iSaumya

    (@isaumya)

    Is it necessary to change it?

    – Not unless you are facing any issues.

    Will “swcfpc_purge_cache_cron_interval” work if I don’t touch the WPO-config file and leave it at 10 sec?

    Yes it should check the plugin log

    How often do you advice to start preloader?

    – Depends on your website and it’s content. I personally don’t use preloader cronjob on my site

    Thread Starter littleeloo

    (@littleeloo)

    Thank you so much for your patience, and thank you very much for this amazing plugin. You’ve done an incredible job and I’m very grateful ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in cron job’ is closed to new replies.