Exemple #1
0
 /**
  * Create a new scheduled job and save it to the specified queue.
  *
  * @param int $in
  *            Second count down to job.
  * @param string $queue
  *            The name of the queue to place the job in.
  * @param string $class
  *            The name of the class that contains the code to execute the job.
  * @param array $args
  *            Any optional arguments that should be passed when the job is executed.
  *
  * @return array the token of delayed job and timestamp
  */
 public function enqueueJobIn($in, $queue, $class, $args = array())
 {
     return ResqueScheduler::enqueueIn($in, $queue, $class, $args);
 }