public static function CronSignal::flush in Ultimate Cron 8.2
Clear signals.
Parameters
string $name: The name of the job.
File
- src/
CronSignal.php, line 103
Class
Namespace
Drupal\ultimate_cronCode
public static function flush($name) {
$database = \Drupal::service('ultimate_cron.database_factory');
$database
->delete('ultimate_cron_signal')
->condition('job_name', $name)
->execute();
}