From cf22281905502fef4740d254697f0bbac5b6bb11 Mon Sep 17 00:00:00 2001 From: jaspercroome <128058464+jaspercroome@users.noreply.github.com> Date: Tue, 16 Apr 2024 21:59:17 -0700 Subject: [PATCH] added 1hr scheduler to constructor (#904) --- client-mu-plugins/goodbids/src/classes/Auctions/Cron.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client-mu-plugins/goodbids/src/classes/Auctions/Cron.php b/client-mu-plugins/goodbids/src/classes/Auctions/Cron.php index 3bade764..af57fd88 100644 --- a/client-mu-plugins/goodbids/src/classes/Auctions/Cron.php +++ b/client-mu-plugins/goodbids/src/classes/Auctions/Cron.php @@ -79,6 +79,9 @@ public function __construct() { // Set up 1min Cron Job Schedule. $this->add_one_min_cron_schedule(); + // Set up 1hr Cron Job Schedule + $this->add_one_hour_cron_schedule(); + // Schedule a cron job to trigger the start of auctions. $this->schedule_auction_start_cron(); @@ -229,7 +232,7 @@ function (): void { } /** - * Schedule a cron job that runs every 30 minutes to see if there are any auctions ending soon + * Schedule a cron job that runs every 60 minutes to see if there are any auctions ending soon * * @since 1.0.0 *