Plugin Directory

Changeset 1716931


Ignore:
Timestamp:
08/21/2017 10:55:07 AM (9 years ago)
Author:
melkarim
Message:

recover cron job automatically

Location:
addefend-easy-integration
Files:
1 added
3 edited
10 copied

Legend:

Unmodified
Added
Removed
  • addefend-easy-integration/tags/1.3/Components/script_integration.php

    r1713299 r1716931  
    4343add_action('out_of_date_script', 'download_addefend_script');
    4444function download_addefend_script() {
    45     addefend_log('ADDEFEND -- TRACE : 5 minutes have passed !');
     45    addefend_log('ADDEFEND -- TRACE : download_addefend_script() !');
    4646    $script_URL = get_option( 'addefend_script_URL' );
    4747    // API call
     
    8686        addefend_log('ADDEFEND -- TRACE : Script injected in the footer');
    8787    }
     88    if ( !wp_next_scheduled( 'out_of_date_script' ) ) {
     89        wp_schedule_event( time(), 'hourly', 'out_of_date_script');
     90    }
    8891}
    8992
  • addefend-easy-integration/tags/1.3/addefend-easy-integration.php

    r1713299 r1716931  
    44Plugin URI: https://wordpress.org/plugins/addefend-easy-integration/
    55Description: The AdDefend Easy Intregration plug-in supports publishers in integrating the AdDefend anti-adblock solution.
    6 Version: 1.2
     6Version: 1.3
    77Author: AdDefend GmbH
    88Author URI: http://www.addefend.com/
  • addefend-easy-integration/tags/1.3/readme.txt

    r1713299 r1716931  
    44Requires at least: 4.2
    55Tested up to: 4.8
    6 Stable tag: 1.2
     6Stable tag: 1.3
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl.html
  • addefend-easy-integration/trunk/Components/script_integration.php

    r1713299 r1716931  
    4343add_action('out_of_date_script', 'download_addefend_script');
    4444function download_addefend_script() {
    45     addefend_log('ADDEFEND -- TRACE : 5 minutes have passed !');
     45    addefend_log('ADDEFEND -- TRACE : download_addefend_script() !');
    4646    $script_URL = get_option( 'addefend_script_URL' );
    4747    // API call
     
    8686        addefend_log('ADDEFEND -- TRACE : Script injected in the footer');
    8787    }
     88    if ( !wp_next_scheduled( 'out_of_date_script' ) ) {
     89        wp_schedule_event( time(), 'hourly', 'out_of_date_script');
     90    }
    8891}
    8992
  • addefend-easy-integration/trunk/addefend-easy-integration.php

    r1713299 r1716931  
    44Plugin URI: https://wordpress.org/plugins/addefend-easy-integration/
    55Description: The AdDefend Easy Intregration plug-in supports publishers in integrating the AdDefend anti-adblock solution.
    6 Version: 1.2
     6Version: 1.3
    77Author: AdDefend GmbH
    88Author URI: http://www.addefend.com/
  • addefend-easy-integration/trunk/readme.txt

    r1713299 r1716931  
    44Requires at least: 4.2
    55Tested up to: 4.8
    6 Stable tag: 1.2
     6Stable tag: 1.3
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl.html
Note: See TracChangeset for help on using the changeset viewer.