From: Steve Sutton Date: Thu, 26 Apr 2018 20:48:10 +0000 (-0400) Subject: turn off cron for now X-Git-Tag: v1.0.0^2~30 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=6091759e5bc82c66c94c6d07e93b4b63664a2746;p=WP-Plugins%2Fglm-member-db-billing.git turn off cron for now turning off the cron for expired user for now --- diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 235b394..67f4329 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -39,22 +39,22 @@ add_filter( * * Run only once per day. Everyday. */ -add_filter( - 'glm_associate_cron_request', - function( $cron_task ){ - $new_cron = array( - array( - 'menu' => 'ajax', - 'action' => 'billingFlagExpiredUsers', - 'daysOfWeek' => range( 1, 7 ), - // 'times' => array( 5 ), - 'times' => range( 0, 23 ), - 'params' => array() - ) - ); - return array_merge( $cron_task, $new_cron ); - } -); +// add_filter( +// 'glm_associate_cron_request', +// function( $cron_task ){ +// $new_cron = array( +// array( +// 'menu' => 'ajax', +// 'action' => 'billingFlagExpiredUsers', +// 'daysOfWeek' => range( 1, 7 ), +// // 'times' => array( 5 ), +// 'times' => range( 0, 23 ), +// 'params' => array() +// ) +// ); +// return array_merge( $cron_task, $new_cron ); +// } +// ); /** * Setup cron task request to run billingSetupQueue