The WP_DISABLE_CRON constant only removes WP-Cron from loading on the page so it’s no longer triggered by site traffic.
You can absolutely hit the wp-cron.php file directly to trigger it. I use https://cron-job.org to ping my private sites at https://dev.example.com/wp-cron.php?doing_wp_cron for example.
This is actually recommended in the WordPress handbook: https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/
Editing to add: if you’re concerned about triggering any other hooks associated with WP-Cron that maybe the site owner wants to avoid, you can also use cron-job.org (or a server CRON) to ping a page within your plugin to only run your update function without triggering WP-Cron at all.
Related Posts:
- How Do I Make WordPress Run an Event Every Day?
- Hourly WP schedule, do I need at least 1 visitor hourly?
- 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
- Will cron job run if page loaded is being served from cache?
- How to schedule a cron job in plugin without waiting for page load request?
- How to perform a heavy and long process in cron jobs?
- How to Trigger WP CRON at Local Timestamp?
- Plugin with functions inside a class & how to trigger WP CRON
- How and when would I implement some code which would take data from one part of the Db and put it in another?
- WP Cron as Fast as WordPress AJAX?
- What is the use of wp_schedule_event hook?
- Default table collation on plugin activation?
- Writing a plugin that notify my friends of new post that mentions(@) them
- Getting wrong relationship value in $args in wp_Query?
- wp_schedule_event in a class
- WP Cron – Run Cron after evey 15 minutes at a specific time for the next three hours
- Not sure the best way to save custom plugin data
- The ideal place for storing persistent PHP objects
- What is the correct way for plugins to create tables with special charset/collation considerations?
- Cron firing my function everytime wp-admin is visited
- Using wp_cron with custom time interval and the register activation hook
- WordPress scheduled task is called but not executed
- What is the added “complexity” of custom tables?
- Plugin development with unit tests
- get_posts / WP_Query Memory size of 134217728 bytes exhausted
- Formatting of curly brackets array from WP database to get more readable output
- How to modify post content before writing to database?
- Hello dolly type plugin that allows people to add their own
- Custom Plugin Database relations
- Is it possible to load plugin from console with core ?
- How ( and mostly at what time ) can i prevent the alternate cron from running?
- Database for development
- Is there a naming convention for database tables created by a plugin?
- Activation hook not creating table
- Is the usage of ON DELETE CASCADE wrong or not allowed on wordpress?
- Version upgrade: can my plugin filter the SQL statements issued during a database upgrade?
- Does wp-cron runs all tasks scheduled at same time together or one after other?
- What for the tables ending with the meta used in database of wordpress?
- Scheduling a task using class methods
- Get a custom table to an array
- Use wp_set_post_terms() instead of wp_insert_post()
- Subscribe to author?
- I’m designing a plugin to create database indexes. Suggestions?
- Programmatically detect if wp-cron is disabled?
- How should I store a log for my plugin
- How to create database table, add data, update and delete using wpdb via plugins?
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- Problems with cron
- wpdb->prepare and mysql UPDATE – how is it done?
- dbDelta SQL Query Not Working
- dbDelta not installing database
- Is it necessary to do validation again when retrieving data from database?
- Plugin: database creation
- Adding columns to core tables
- wp_schedule_event() set daily, but processed every second
- How to query custom db table?
- Delete data from database using row action
- Show dynamic list of products from custom api of another database under same host
- How best to handle database version dependence (from $wp_db_version)
- WP: Search and replace in DB programmatically
- Using AND and bracket grouping in SQL not working
- How to Schedule Cronjobs for start of every month and year
- Two different wordpress sites – same server and IP address. Gaining Access to database 1 of 2
- WordPress plugin cron working only if admin is logged in
- What might be the reason of Couldn’t fetch mysqli_result on another domain?
- Save temporary registration data
- $wpdb->update Issue
- dbdelta failing with error: “WordPress database error Table ‘wp_2_myPlugin’ already exists
- wp_schedule_single_event is set correctly but sometimes not fired
- WordPress cron job running more than once
- Cron: Update four post at Hour
- Activate Plugin Automatically After Set Time
- Why User_login key doesn’t work with wp_update_user()
- WordPress Fatal error: Uncaught Error: Call to undefined function dbDelta()
- Use admin-post to submit form data to external database
- WordPress doesn’t create table on plugin activation
- Insert Data into Database
- Custom recurrence not working / Wp Cron event
- Update database record in plugin
- pull data from wordpress database
- WordPress Cron function is not working
- Ajax not working to insert, query and result data
- Why Worpdress doesn’t create table in database?
- Form and database, plugin development
- How to filter get_adjacent_post()?
- Detect each active instance of a widget
- Best place to keep files that are called by cron jobs?
- Adding custom cron_schedule prior to wp_schedule_event
- Post data in wp-admin to external database
- Call do_action() within WordPress cronjob
- How can I get a plugin to hook ‘dbdelta_queries’ — a filter used during version update?
- How to create a database table in WordPress using PHP
- Can I log the searches that are returning 404 in the DB?
- Programmatically creating posts based on external JSON feed (asynchronously)
- wp cron does not run when i am not logged in to wp admin
- Making a user platform reachable by a qr code on a pin-back-button [closed]
- multiple record insert creating many duplicate records
- Custom Plugin Breaks Other Plugin Functions
- Custom database table entry edit page