You are here

function _hosting_dispatch_cmd in Hosting 5

Same name and namespace in other branches
  1. 6.2 hosting.queues.inc \_hosting_dispatch_cmd()
  2. 7.4 hosting.queues.inc \_hosting_dispatch_cmd()
  3. 7.3 hosting.queues.inc \_hosting_dispatch_cmd()
2 calls to _hosting_dispatch_cmd()
hosting_queues_cron_cmd in ./hosting.queues.inc
hosting_setup in ./hosting.module

File

./hosting.queues.inc, line 207

Code

function _hosting_dispatch_cmd() {
  $node = node_load(HOSTING_OWN_WEB_SERVER);
  $cmd = sprintf("php %s hosting dispatch --root=%s", escapeshellarg($node->drush_path), escapeshellarg(HOSTING_DEFAULT_DOCROOT_PATH));
  return $cmd;
}