The problem was in scheduled cron jobs. While testing I had previously set cron job for the same hook. After inspecting cron jobs I managed to delete that test schedule and now it is working.
Related Posts:
- Is there a quick way to view the wp-cron schedule
- Using wp_schedule_single_event with arguments to send email
- 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
- crontab wp-cron.php on multisite path-based network: one for each path? Or just one for the root?
- Missed scheduled WordPress
- Running wp-cron from CLI
- Some rogue WordPress plugin killing my server – how do I isolate and kill it?
- what is firing cron
- Managing scheduled tasks
- custom cron interval is not working
- Can’t find wp-cron.php but I can see it in the public folder [closed]
- Manually trigger a wp_schedule_event item?
- Check if event was scheduled – schedule event only once
- WordPress wp-cron not working
- Too many wp-cron requests even when disabled
- 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]
- Trigger background job using AJAX
- Detect if Cron is Running
- Run function with linux cron job in WordPress
- Schedule cron don’t work
- How to code schedule / cron job
- wp_schedule_event daily at specific time
- Pings disabled but WordPress is still searching for “to_ping”
- Can you register two cron events in a single function?
- wp_schedule_single_event does not call my action
- Hourly scheduled wp_cron job keeps getting rescheduled
- When to use wp_schedule_single_event for async / non-blocking processes?
- wp-cron: freeze at “now”
- Scheduling a cron job from a function that is ran outside functions.php?
- Issues When Recursively Calling wp_schedule_single_event()
- Why is `wp_unschedule_event` not working
- System Cron job not firing
- WordPress Cron Job Not working
- Cron Job Keep Running in spite of being disabled
- WordPress automatic publish: is there a timeout when WordPress won’t publish anymore?
- How to create a WP Cron hooks based on schedules from Advanced cron manager plugin?
- How to fix missing function in wp-cron?
- Sending email to all users
- Run function after a post has finished saving – callback function perhaps?
- Cancel/Stop a currently ongoing scheduled cron event?
- 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?
- Issue with wp_schedule_event()
- Why is apache access log not showing GET requests related to cron job?
- When does wp-cron fire?
- Scheduling WP cron jobs
- How to periodically roll back WordPress to a fixed point in time?
- WP-Cron system broken
- what effective ways are there to debug cron
- How do i set cron job for my WordPress site?
- 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
- Strange cron job behavior and how to solve it?
- WordPress cron not getting executed when called by external service (but ok from browser)
- WP-Cron called by separate server
- WP_cron keeps going back to the past
- Compare time value in WP_User_Query for sending emails
- Diagnosing WP-Cron jobs locking up my server
- How to run correctly wordpress cron from Cpanel
- Cron and request with wp_remote_post
- How to Set a Condition via Page Template Name in WP Cron Job?
- Real cron killed my cron system. Only define( ‘ALTERNATE_WP_CRON’, true ); works
- Server cron job not working
- Schedule several instances of the same action with cron
- Unknown requests on my WP Site
- WordPress CRON job working when reloading the page
- Trying to configure cron to get next value from array on each run
- Most efficient way to trigger wp-cron through system cron.
- How to make sure WP-CRON job loops through all posts?
- WordPress Multisite cron jobs using cron tab
- Run external file cron using WordPress Scheduler
- WP-Cron system doesn’t work on server
- WP Cron: wp_get_schedule( $hook ) returns nothing
- wp-cron function not running when activating the cron by form submit
- couldn’t connect to host – wp-cron.php?doing_wp_cron
- Run WordPress Plugin in the Specified time
- Pages for Cron use Only?
- Make posts automatically from an Online XML file through wp cron job
- Cron jobs repeating themselves
- WordPress Cron Job Counting Up and Not Down
- WP Cron fail to update the next_schedule
- Run cronjob with browser request
- Does DISABLE_WP_CRON prevent plugins from registering new cron tasks?
- Cron job for wp_cron.php running but not publishing scheduled posts
- How to know if WP cron is currently running my hook?
- 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()?
- Custom cronjob not executing at all, but manually
- Protect wp-cron from hackers
- Not getting expected email when running cron hook
- ‘wp_site_health_scheduled_check’ Causes Failure Of Other Scripts
- How WP works with DB during cron job running?