Skip to content

Commit

Permalink
Update cron to daily.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Sep 6, 2023
1 parent 20f2751 commit f72f387
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function log( $message, $post_id, $data = null ) {
*/
function schedule_jobs() {
if ( ! wp_next_scheduled( 'wc_attendee_survey_email' ) ) {
wp_schedule_event( time(), 'hourly', 'wc_attendee_survey_email' );
wp_schedule_event( time(), 'daily', 'wc_attendee_survey_email' );
}
}

Expand Down

0 comments on commit f72f387

Please sign in to comment.