You are here

function hosting_queues_cron_cmd in Hosting 6.2

Same name and namespace in other branches
  1. 5 hosting.queues.inc \hosting_queues_cron_cmd()
  2. 7.4 hosting.queues.inc \hosting_queues_cron_cmd()
  3. 7.3 hosting.queues.inc \hosting_queues_cron_cmd()

Related topics

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

File

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

Code

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