function _hosting_dispatch_cmd

7.x-3.x 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 186
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;
}