public function schedule($postId)
    {
        if ($postId !== 'options' || !isset($_GET['page']) || $_GET['page'] !== 'acf-options-feedback-options') {
            return;
        }

        wp_unschedule_hook('customer-feedback/email_summary');
        wp_clear_scheduled_hook('customer-feedback/email_summary');

        $summaries = get_field('customer_feedback_summary', 'option');

        if (empty($summaries)) {
            return;
        }

        foreach ($summaries as $summary) {
            wp_schedule_event(
                strtotime('tomorrow midnight -3 hour'),
                $summary['interval'],
                'customer-feedback/email_summary',
                array(
                    $summary['email_address'],
                    $summary['interval']
                )
            );
        }
    }