/**
  * Set this flag to execute scheduled tasks synchronously, in the same
  * process. This is useful for debugging, and otherwise dramatically worse
  * in every way imaginable.
  */
 public static function setRunAllTasksInProcess($all)
 {
     self::$runAllTasksInProcess = $all;
 }