Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added 1hr scheduler to constructor #904

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion client-mu-plugins/goodbids/src/classes/Auctions/Cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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
*
Expand Down