Changeset 4727 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
- Timestamp:
- 01/19/2017 04:33:23 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-manager.php
r4523 r4727 19 19 20 20 // The actual cron hooks. 21 add_action( 'plugin_directory_meta_sync', array( __NAMESPACE__ . '\Meta_Sync', 'cron_trigger' ) );22 add_action( 'plugin_directory_svn_sync', array( __NAMESPACE__ . '\SVN_Watcher', 'cron_trigger' ) );23 21 add_action( 'plugin_directory_meta_sync', array( __NAMESPACE__ . '\Meta_Sync', 'cron_trigger' ) ); 22 add_action( 'plugin_directory_svn_sync', array( __NAMESPACE__ . '\SVN_Watcher', 'cron_trigger' ) ); 23 add_action( 'plugin_directory_update_api_check', array( __NAMESPACE__ . '\API_Update_Updater', 'cron_trigger' ) ); 24 24 25 25 // Register the wildcard cron hook tasks. … … 134 134 wp_schedule_event( time(), 'every_30s', 'plugin_directory_svn_sync' ); 135 135 } 136 if ( ! wp_next_scheduled ( 'plugin_directory_update_api_check' ) ) { 137 wp_schedule_event( time(), 'hourly', 'plugin_directory_update_api_check' ); 138 } 136 139 } 137 140
Note: See TracChangeset
for help on using the changeset viewer.