An idea I came up with was using the new WP Heartbeat API as opposed to using cron. Have your plugin fire off a call to your logging system every hour.
Pippin’s tutorial contains the majority of the code you’ll need to get started.
Related Posts:
- How do I create a custom role capability?
- Prevent network activation of plugin
- Uninstall script for a plugin in Multisite
- How do I log plugin (cron) actions?
- Changing Plugin Load Order
- What is wrong with using add_option with Multisite instead of add_blog_option in a plugin
- How to Get a List of Sub Blogs without Using get_blog_list()?
- Error getting correct blog_id on MU from functions.php
- How do I make specific plugin functionality apply to different sites in a network?
- How Do I Make WordPress Run an Event Every Day?
- get_posts / WP_Query Memory size of 134217728 bytes exhausted
- Hourly WP schedule, do I need at least 1 visitor hourly?
- WordPress multisite apply different options over each site from same plugin
- Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php
- Multisite, sharing content by URL
- Scheduled event does not run at midnight
- Only allow plugin to be activated on root site of multisite
- How to use wp_set_password in a plugin?
- WordPress Media mime type filter problem 4.0
- Is it possible to load plugin from console with core ?
- Is there any background process that I can run from plugin without depending on page hits on a website without affecting page-load speed?
- WordPress cron running twice
- What is the best way to overwrite /wp-admin/ms-delete-site.php
- Where should I store global data for my multi-site WordPress plugin?
- unable to stop loop when using wp_insert_post with publish_post hook
- Customize multisite site creation with user data
- Multisite plugin development and wp_enqueue_script
- Plugin Uninstall and Deactivate via Options Menu
- how to activate plugin network-wide, and save setting across sites
- Sharing a common set of image files for media library, across all sites within multisite
- What is difference between blog id and site id?
- How to create a Tools menu on the Network Admin dashboard from a plugin
- Will cron job run if page loaded is being served from cache?
- Override the default Add/Edit site forms of the Network Panel in custom plugin
- How to set “Site Address (URL)” programmatically on WP multisite?
- How to associate an existing user to a site in a multisite setup programmatically
- WordPress Multisite with Azure B2C redirect_urls after Login
- Loading WordPress Admin Environment
- How to schedule a cron job in plugin without waiting for page load request?
- How To Change Post Author Default?
- Adding (blog-specific) links to “My Sites” admin page
- Plugin menu addition in multisite
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Multiple Plugin best practice in Multisite
- Selectively update themes in WordPress multisite
- Problems with cron
- Problem with context in multisite – getting main site data in every blog (get_pages())
- how to invoke wordpress API from other existing PHP system
- WP Multisite login not working on one subsite. Possibly cookies/ history issue?
- How to Trigger WP CRON at Local Timestamp?
- register_activation_hook on multisite
- WordPress multisite,use same cookies across all website?
- WP: Search and replace in DB programmatically
- How to get current logged-in user details in multisite?
- add_action wp_ajax_ not loading in plugin file WP Network
- Clean way to initialize plugin in newly-added site when plugin has been network activated?
- How to share user data across multiple WordPress websites?
- Is there anything special required to make a plugin work in a multisite environment?
- How to edit wp-signup.php content using plugin
- How do I ensure I can loop through every enqueued script and CSS?
- Custom Plugin activation error in Multisite
- Replace “content-area” of themes 404 page with plugin?
- Plugin with functions inside a class & how to trigger WP CRON
- Multisite and the JSON REST API: How to?
- Testing Plugins for Multisite
- Same header/footer in Admin, across all network sites in multisite
- WP Cron as Fast as WordPress AJAX?
- Best place to keep files that are called by cron jobs?
- What is the use of wp_schedule_event hook?
- Change Admin menu placement using hooks
- Force remove parent theme CSS/JS and call them from Child theme
- Running one-off cron jobs when WP_DISABLE_CRON is true: can I hit /wp-cron.php?
- Custom frontend page for plugin without a ‘physical’ page?
- Filter to change the content of 404 page
- External Rewrite Rules
- plugin_dir_url() adds path to url
- Nuance in adding CPT and TAX to a submenu
- prevent post to have multiple categories in my plugin
- wp_count_posts on all post types?
- WP REST API V2 – Add user data to response
- Include content of file into plugin (ob_start();;include;ob_get_clean()) without
- How To Change Logout Screen Title
- onclick post title in admin area javascript file not working
- How can I edit commit messages in my wp-hosted plugin repo?
- Adding dropdown list to tutor lms registration form
- How to Bind one post object Type with other postobject Type in Advanced Custom field [closed]
- Creating custom input fields on the admin side
- Can’t get AJAX call working in custom plugin
- How to create custom dynamic url
- Any way to update_post_meta with html content? It gets stripped and becomes empty
- How to get the number of pages when paginating comments?
- Getting posts by taxonomy
- can members have multiple registration using the same password?
- use a (Polymer) web component within a plugin (or theme)?
- how to add security questions on wp-registration page and validate it
- Customize WordPress Admin Menu
- Forcing ALL plugin Admin menus into a separate menu
- Looking for Hook that is fired after a plugin or wp upgrade is installed/updated
- Load images from CDN and custom features to “Add Media” dialogue
- Saving metabox updates causing fatal error