ClassesBigCommerceImportRunnerCron Monitor

Cron_Monitor

Class Cron_Monitor

Makes sure that the import tasks are scheduled appropriately

  • Full name: \BigCommerce\Import\Runner\Cron_Monitor

Methods

check_for_scheduled_crons

public check_for_scheduled_crons(): void

listen_for_changed_schedule

public listen_for_changed_schedule(mixed $old_value, mixed $new_value): void

Parameters:

ParameterTypeDescription
$old_valuemixed
$new_valuemixed

listen_for_import_start

If an import is starting, unschedule the next scheduled start.

public listen_for_import_start(mixed $status): void

Usually means that an import is running from the CLI.

Parameters:

ParameterTypeDescription
$statusmixed


Automatically generated on 2025-01-21