You are here

function drush_hosting_pause in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 pause.hosting.inc \drush_hosting_pause()
  2. 7.3 pause.hosting.inc \drush_hosting_pause()

Drush command to pause the Aegir frontend queues.

This is really just deleting the crontab.

File

./pause.hosting.inc, line 24
Drush include for the Hosting module's hosting pause command.

Code

function drush_hosting_pause($url) {

  // wipe out cron entry
  exec('crontab -r');
}