Support » Plugin: WP Super Cache » Manually add cron job for garbage collection

  • My website host recommendeds to disable cron to speed up wordpress. Although I doubt it will have effect I do not want to dismiss the suggestion without trying it. But without breaking the super cache garbage collection, so I would like to manually add a cron job for WP Super Cache garbage collection. What is the correct call I have to add to my cron job manager in CPANEL?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Donncha Ó Caoimh

    (@donncha)

    I don’t know, but I wouldn’t disable WordPress cron. It works after a request is made.

    ToddB

    (@linuxgameconsortium)

    Hey @donncha

    Having a somewhat similar issue. There is a constant message at the top of the plugin settings:

    CRON System Disabled
    The WordPress CRON jobs system is disabled. This means the garbage collection system will not work unless you run the CRON system manually.

    However, wp-config.php includes the define('ALTERNATE_WP_CRON', true); code. And wp-cron is disabled.
    But there is a manual cron job running every 30 minutes.

    Stats show:

    WP-Cache (0KB)

    0 Cached Pages
    0 Expired Pages

    WP-Super-Cache (65.90KB)

    304 Cached Pages
    0 Expired Pages
    List all cached files

    Expired files are files older than 3600 seconds. They are still used by the plugin and are deleted periodically.

    Preload mode is enabled. Supercache files will never be expired.

    Is there a way of using a cron job to further automate Garbage Collection?

    ToddB

    (@linuxgameconsortium)

    Hey @donncha

    Having a somewhat similar issue. There is a constant message at the top of the plugin settings:

    CRON System Disabled
    The WordPress CRON jobs system is disabled. This means the garbage collection system will not work unless you run the CRON system manually.

    However, wp-config.php includes the define('ALTERNATE_WP_CRON', true); code. Since wp-cron is disabled. There is a manual cron job running every 30 minutes.

    Stats show:

    WP-Cache (0KB)

    0 Cached Pages
    0 Expired Pages

    WP-Super-Cache (65.90KB)

    304 Cached Pages
    0 Expired Pages
    List all cached files

    Expired files are files older than 3600 seconds. They are still used by the plugin and are deleted periodically.

    Preload mode is enabled. Supercache files will never be expired.

    Is there a way of using a cron job to further automate Garbage Collection?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.