You are here

function _hosting_dispatch_cmd in Hosting 7.4

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

Related topics

2 calls to _hosting_dispatch_cmd()
drush_hosting_setup in ./hosting.module
Initial hosting setup drush command.
hosting_queues_cron_cmd in ./hosting.queues.inc
Generate a crontab entry.

File

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

Code

function _hosting_dispatch_cmd() {
  $cmd = sprintf("/usr/bin/env php %s %s hosting-dispatch ", DRUSH_COMMAND, escapeshellarg(d()->name));
  return $cmd;
}