Your access logs will show all requests (traffic) to your site, including those that resulted in 404s.
I suspect that your 404 page is not calling your function, so the request is not tracked.
You should be able to get your access log from your hosting place, via the cPanel (assuming you are not self-hosted). But most of those requests, I’d suspect, are not valid visitors.
You could also change your function to provide more info from the CURL request. See this page on the curl_getinfo function: https://www.php.net/manual/en/function.curl-getinfo.php .
Related Posts:
- Should I disable WP_CRON and instead trigger wp-cron.php from server every few mins?
- Do WordPress cron jobs slow down page loading?
- PHP Warning on fresh install (Connection timed out)
- Is there a known vulnerability for wp-cron.php?
- Using wp_schedule_single_event with arguments to send email
- wp_schedule_event is executing but the function related to the hook is not running
- wp_schedule_event won’t accept args
- add_action to wp cron?
- Triggering cron by calling wp-cron.php on the command line rather than with wget?
- wp-cron.php is triggered, but scheduled post is not published
- Get frequency of scheduled event
- wp_next_scheduled returning a past timestamp
- Missed scheduled WordPress
- Do wp-cron scheduled tasks run asynchronously?
- Why?: hundreds of empty files named wp-cron.php?doing_wp_cron.
- Can’t access wp_filesystem in cron function
- Run a cron job (or similar) in the background of WP after post update/create
- what is firing cron
- Managing scheduled tasks
- custom cron interval is not working
- How to set up WP Cron in this scenario
- Where in the page load code is wp-cron triggered?
- Check if event was scheduled – schedule event only once
- wp_get_schedule and wp_next_scheduled don’t find my scheduled wp-cron job
- Getting Error “invalid secret string” by running wp-cron.php manually
- Why would wp_schedule_single_event get delayed start?
- Create function in functions.php with hook name to execute URL
- cron.php being constantly deleted [closed]
- Scheduling posts on wordpress adds wrong seconds as post_date
- WordPress Cron is scheduled but not running
- How to make WordPress emails async
- How to execute existing WP Cron programmatically
- Execute code at the end of each quarter of year
- debugging wp_cron jobs with XDebug in Eclipse
- wp_schedule_event run in background or not?
- Detect if Cron is Running
- Run function with linux cron job in WordPress
- Schedule cron don’t work
- wp_schedule_event daily at specific time
- Pings disabled but WordPress is still searching for “to_ping”
- When to use wp_schedule_single_event for async / non-blocking processes?
- Failed to open stream: HTTP request failed! in \wamp\www\wordpress\wp-includes\class-http.php on line 929
- wp-cron: freeze at “now”
- How could an event previously scheduled with wp_schedule_event later become unscheduled?
- daily wp_schedule_event hook works after reload any page
- update post every day
- Issues When Recursively Calling wp_schedule_single_event()
- Sync user meta fields using Wp cron job
- System Cron job not firing
- Cron job not working – Can’t see in the queue attached
- How to fix missing function in wp-cron?
- “Missed schedule” posting bug
- Run function after a post has finished saving – callback function perhaps?
- Wp Cron and WordPress Updates
- Code does not work in class implementation but works fine in functions.php file
- Use cron to create a non blocking task
- How to create and run cronjob in WP without using the plugin?
- WordPress cron hooks – same callback for completely different action?
- Why is apache access log not showing GET requests related to cron job?
- Manually running cron from the server
- How to solve cron problem in WordPress?
- Cron jobs when running multiple instances on the same DB
- When does wp-cron fire?
- WP-Cron function not firing
- How do i set cron job for my WordPress site?
- Hook/Cron Problem
- How can I prove if wp cron is running my task if I have DISABLE_WP_CRON set to true
- Delete all users when they don’t update profile_fields
- Email alert with wp_cron and wp_mail if new data (external API) – Pseudo code
- wp_schedule_event is registered but scheduled function isn’t running
- Call to undefined function wp_create_category()
- Compare time value in WP_User_Query for sending emails
- How to Set a Condition via Page Template Name in WP Cron Job?
- wp-cron.php not being triggered by wp_remote_post in spawn_cron()
- wp_schedule_event doesn’t work
- What am I doing wrong creating post draft via wp-cron? (wp_schedule_event & wp_insert_post)
- Most efficient way to trigger wp-cron through system cron.
- WP cron and update post meta
- How to make sure WP-CRON job loops through all posts?
- WordPress Multisite cron jobs using cron tab
- WP-Cron system doesn’t work on server
- Cron Job Scheduling in wordpress
- Schedule reminder at exact time
- Sending emails to separate accounts using a for loop
- daily job to run send email based on user data
- couldn’t connect to host – wp-cron.php?doing_wp_cron
- Run WordPress Plugin in the Specified time
- setting up a wp cron job
- Cron Lock Timeout, when to use?
- Cron jobs repeating themselves
- WordPress Cron Job Counting Up and Not Down
- WP cron Executes once and doesnt repeat
- how to crate cronjo not depending on user access
- Cron event running more than once if triggered from WP Crontrol
- Cronjob function not executed – negative seconds
- WP CRON Fails At 13:00 Every Day
- Update last created post in custom post types with wp_cron()?
- wp_schedule_event with dynamic names but same function
- Not getting expected email when running cron hook
- How WP works with DB during cron job running?