You are here

public function UltimateCronBackgroundProcessLegacyLauncher::signal in Ultimate Cron 7.2

Handle end_daemonize signal.

Overrides UltimateCronPlugin::signal

File

plugins/ultimate_cron/launcher/background_process_legacy.class.php, line 62
Background Process 1.x launcher for Ultimate Cron.

Class

UltimateCronBackgroundProcessLegacyLauncher
Ultimate Cron launcher plugin class.

Code

public function signal($item, $signal) {
  switch ($signal) {
    case 'end_daemonize':
      $item
        ->sendSignal('end_daemonize', TRUE);
      $item
        ->sendSignal('kill', TRUE);
      return;
  }
}