Ok that was pretty easy
// Set the CRON for pages
wp_schedule_event( current_time( 'timestamp' ) + 450, self::FB_CRON_FREQUENCY, self::FB_CRON_PAGES, array( Ai1ec_Facebook_Graph_Object_Collection::FB_PAGE ) );
// Set the CRON for groups
wp_schedule_event( current_time( 'timestamp' ) + 900, self::FB_CRON_FREQUENCY, self::FB_CRON_GROUPS, array( Ai1ec_Facebook_Graph_Object_Collection::FB_GROUP ) );
// Set the CRON for users
wp_schedule_event( current_time( 'timestamp' ) + 1350, self::FB_CRON_FREQUENCY, self::FB_CRON_USERS, array( Ai1ec_Facebook_Graph_Object_Collection::FB_USER ) );
Related Posts:
- How ( and mostly at what time ) can i prevent the alternate cron from running?
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- Switch from wp-cron to a server cron job
- WordPress cron job running more than once
- Cron: Update four post at Hour
- Activate Plugin Automatically After Set Time
- Cron task gets removed from the schedule
- Better way to run heavy scripts using WordPress database
- WordPress Cron function is not working
- Adding custom cron_schedule prior to wp_schedule_event
- How to implement WordPress plugin update that modifies the database?
- WordPress Plugin Development In MVC Architecture, How?
- Customize plugin update “new version is available” text
- category_name not working (not showing up in sql query debug)
- “Donate to this plugin” for WordPress.org Plugin Authors
- What happens when two plugins have the same 3rd party class included into them?
- add_rewrite_rule, plugin activation and plugin deactivation
- How to handel multiple checkbox field in the admin settings page with Settings API
- Update Multiple Post Meta for the Same Post In One call?
- Allowing Custom Capability to Manage Plugin Options
- wp_insert_user – how to send verification email before logging in
- Custom plugin settings: clicking “save changes” does not display success message
- How to show custom message once on plugin activation?
- How do I configure WordPress to talk to a Microsoft SQL Server database?
- How to load a new template page according to a particular URL?
- How can I filter blog name?
- API to filter new user registration $POST data?
- Detect if a plugin was included in a certain page
- Set cookie then immediantly refresh the page
- How to add an attribute to the body tag with a plugin?
- Override the core function locate_template
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- Set user ID at time of wp_create_user
- How to Create a Custom Plugin Permalink
- How to create custom tables in WordPress using my own plugin?
- After plugin options changed hook
- How would I go about creating a user ranked post popularity page?
- How to modify WCMP Rest API response?
- Making a Template for a CPT created by a plugin
- Woocommerce dependent plugin
- External CSS in WordPress Plugin [closed]
- Woocommerce Minimum Price for a Composite Product to add in cart
- Re use the list table for a custom post type on another page
- Can we have an ‘Update metadata’ button in Image Gallery for all image instances?
- Customised plugin failed to install and activate
- Why is one phpunit test throwing an error on one class when all other classes are similar without error?
- WPDB: Update table
- How to get all posts belongs to a user between a certain date
- Check filter defined or not?
- wp-load.php redeclares classes
- Plugin main file is constantly been fired on every website visit
- Where should custom post types be registered in a plugin?
- License validate function
- wp_enqueue_style on template_redirect level?
- plugin uninstall function drop the tables, but shows errors on admin
- How to use template inside plugin shortcode with variables for big HTML code
- Way to send multiple values for column to MySQL?
- Symlink a plugin in local development, works but got Debug error message – Windows 10
- What’s the right way to implement functions in footer.php
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?
- Display my plugins content based on a pages post_id
- Our plugin tags not appearing in WordPress Plugin Repository
- Make get_permalink() work outside the Loop using filters
- Custom Post Type template for homepage
- Pluging with content for a specific page or post
- Does WordPress do any internal caching if no plugin installed?
- WordPress Plugin- How to Insert Html&JS code in specific Page and specific Div
- How can i export and import my plugin option WordPress
- Upload Image with a file URL and show dynamically on Frontend
- Why won’t wp_enqueue_script work within any plugin file?
- Help to Create a Simple Plugin to make a post
- How can i solve php upgrade problem
- custom post type get_posts() function not work
- Create multiple posts when a custom post is created
- how override a define
- WordPress plugin blog creation
- Preserving existing functionality converting HTML to WordPress
- add tags to wordpress post using REST API
- how to do Thematic like this website using wordpress?
- submit form data to wordpress existing database table using my plugin
- Cron job emails blank
- Get content and send to 3rd party
- Why is the WordPress update_option not working in this code?
- what is the best way to create a premium plugin while also protecting your code
- Add predefined values to custom post plugin
- How to set the default options on an existing plugin in a WP MU new user install
- Plugin Breaking WordPress Login
- Breadcrumb is not generating the correct post page url
- Checking url from plugin [duplicate]
- Ajax in Plugins: returns the whole page
- Gutenberg: Dynamic Block – Show saved data in the editor
- Any way to hook into WP after a page displays?
- How do I set register_meta for a specific CPT?
- How to Enfroce Domain Licensing Limits? [closed]
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Update Content for a Custom Block Toolbar Button
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Wrong block appender button showing
- Submitting form to admin-post.php WordPress
- WordPress Throwing Deprecated Errors on its own Files