You are here

function hosting_queues_cron_cmd in Hostmaster (Aegir) 6

Related topics

1 call to hosting_queues_cron_cmd()
_hosting_setup_cron in modules/hosting/hosting.module
Set up the hosting-dispatch command in the aegir user's crontab.

File

modules/hosting/hosting.queues.inc, line 217
This file defines an API for defining new queues.

Code

function hosting_queues_cron_cmd() {
  $command = _hosting_dispatch_cmd();
  $return = <<<END
SHELL=/bin/bash
PATH={<span class="php-variable">$_SERVER</span>[<span class="php-string">'PATH'</span>]}
*/1 * * * * {<span class="php-variable">$command</span>}
END;
  return $return;
}