New answers tagged

0

The Cronjob Scheduler plugin allows you to run frequent tasks reliably and timely without anyone having to visit your site, all you need is at least 1 action and a Unix Crontab schedule. It's very easy to use, and very flexible. You create your own function, and define an action within it. Then you can choose your action from the plugin menu and fire it ...


2

You can create new schedule times via cron_schedules: function my_cron_schedules($schedules){ if(!isset($schedules["5min"])){ $schedules["5min"] = array( 'interval' => 5*60, 'display' => __('Once every 5 minutes')); } if(!isset($schedules["30min"])){ $schedules["30min"] = array( ...


0

You may use these steps to get it to work:` 1. Setup an schedule function my_schedule( $schedules ) { $schedules['hourly'] = array( 'interval' => 60 * 60, 'display' => __( 'One houre' ) ); return $schedules; } add_filter( 'cron_schedules', 'my_schedule' ); 2. Register the activation hook register_activation_hook( ...



Top 50 recent answers are included