Check out wp_cron and the cron_schedules filter. There are lots of good tutorials out there like this one from WPTuts or this one from Viper007Bond.
Related Posts:
- 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 Trigger WP CRON at Local Timestamp?
- Plugin with functions inside a class & how to trigger WP CRON
- WP Cron as Fast as WordPress AJAX?
- What is the use of wp_schedule_event hook?
- Running one-off cron jobs when WP_DISABLE_CRON is true: can I hit /wp-cron.php?
- How to test wp_cron?
- WP Cron Doesn’t Execute When Time Elapses
- How do I log plugin (cron) actions?
- Which action for triggering cron “wp”or “init”?
- Scheduled events disappear from events queue
- wp_schedule_event in a class
- WP Cron – Run Cron after evey 15 minutes at a specific time for the next three hours
- 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
- How to create collections that are edited in admin?
- Problem creating cron job wordpress
- How can I change the frequency of a scheduled event?
- get_posts / WP_Query Memory size of 134217728 bytes exhausted
- WP Cron doesn’t save or in post body
- How to trap “Publish” button to check for meta box validation?
- Schedule event every second thursday of the month
- Scheduled event does not run at midnight
- Is it possible to load plugin from console with core ?
- How ( and mostly at what time ) can i prevent the alternate cron from running?
- Does wp-cron runs all tasks scheduled at same time together or one after other?
- Scheduling a task using class methods
- Why is wp-cron only executing on page visit?
- What is minimum time interval for which a cron be scheduled?
- Use wp_set_post_terms() instead of wp_insert_post()
- Programmatically detect if wp-cron is disabled?
- Loading WordPress Admin Environment
- How to perform a heavy and long process in cron jobs?
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- How wp-cron can run in background if PHP is single threaded?
- WordPress daily cron is executing more frequently than once a day
- Problems with cron
- wp-cron and execution of code in is_admin() included script
- WP Cron being triggered but not working as expected
- wp_schedule_event() set daily, but processed every second
- Catching Gutenberg sidebar switch event
- Will I get an error if I try unscheduling a WP Cron scheduled task that wasn’t scheduled?
- Looking for a better way to initiate cron job
- How to Schedule Cronjobs for start of every month and year
- Display time difference (6 hours ago) in a Soliloquy caption
- Switch from wp-cron to a server cron job
- WordPress plugin cron working only if admin is logged in
- How to make a cronjob type plugin
- 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
- How to Run Plugin on Server Without Web Browser
- get_the_date() returns english Year & Day when language is Arabic
- Events Manager: Create custom Placeholder for use in Email notification
- Better way to run heavy scripts using WordPress database
- Custom recurrence not working / Wp Cron event
- How and when would I implement some code which would take data from one part of the Db and put it in another?
- WordPress Cron function is not working
- Multi hook deploiement
- 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
- Identifying a Page Containing Shortcode at `init`
- Can wp_schedule_single_event be used to run background proccess?
- Call do_action() within WordPress cronjob
- wp cron does not run when i am not logged in to wp admin
- Cron Job not working
- Where to store PHP files created by plugin / themes
- WordPress 4.5 deprecated get_currentuserinfo()
- Single Responsibility Principle and WP Classes
- How to control output of custom post type without modifying theme?
- Admin config screen without menu
- Show a user their recently viewed posts
- Use CodeMirror editor for both CSS and HTML on the same page
- How to create a dynamic page based on form data with a plugin?
- How can I change HTTP headers only to posts of a specific category from a plugin
- Plugin development, hooks, generate content
- Add a reset button to the options page (using Settings API)?
- Mediaelement.js feature doesn’t work
- How to Display Custom Post Type’s Gallery (images ) in Through WP_Query
- How to alter the order of custom form fields
- Help with callback using do_action_ref_array
- How can I find the ‘public absolute’ path of a file?
- Script to get a list of all images that are detached?
- Gutenberg: useDispatch is not a function – @wordpress/data included
- How to get orders with used coupon in WooCommerce
- Why not to include reference to /wp-admin/admin.php in Plugin
- Comments do not respect display_name setting, how to make plugin to overcome this
- How to connect to AWS RDS external database (not for the core WordPress db)
- How to Debug: My Plugin Interferes With My Theme
- How to stop activation addon if the main plugin is not activated
- How would you compose a complex plugin with lots of routes and functions? [closed]
- Settings API with arrays example
- Remove Gutenberg Buttons Block