*
* 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