Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: wp_options ‘cron’ polluted

Discussion in 'Misc WordPress Requests' started by Rcls, Dec 9, 2017.

  1. Rcls

    Guest

    Reply To: wp_options ‘cron’ polluted, by Rcls

    There are only two items stored there. An RSS fetch & parsing I’ve created and the ‘clear cron job’ cron job.


    [1512714524] => Array
    (
    [clear_cron_option] => Array
    (
    [40cd750bba9870f18aada2478b24840a] => Array
    (
    [schedule] => twicedaily
    [args] => Array
    (
    )

    [interval] => 43200
    )

    )

    )
    [1512714551] => Array
    (
    [get_esports_rss_feeds] => Array
    (
    [40cd750bba9870f18aada2478b24840a] => Array
    (
    [schedule] => hourly
    [args] => Array
    (
    )

    [interval] => 3600
    )

    )

    )



    It still won’t clear even after I made the cron job to clear the damn thing. It still gets polluted as if it logs every cron run in it making it very problematic.

    function clear_cron_option() {
    update_option('cron', '');
    }

    wp_schedule_event(time(), 'twicedaily', 'clear_cron_option');

    Now I’m gonna try setting a manual query to clear it.

    Reply To: wp_options ‘cron’ polluted
     
    #1

Share This Page

Monarch Social Sharing Plugin