You appear to be a bot. Output may be restricted
Description
Starts the cleanup cron job.
Usage
$void = Cleanup_Integration::start_cron_job( $task_name );
Parameters
- $task_name
- ( string ) required – The task name of the next cleanup task to run.
Returns
void
Source
File name: wordpress-seo/src/integrations/cleanup-integration.php
Lines:
1 to 9 of 9
private function start_cron_job( $task_name ) { \update_option( self::CURRENT_TASK_OPTION, $task_name ); \wp_schedule_event( ( \time() + \HOUR_IN_SECONDS ), 'hourly', self::CRON_HOOK ); }