Exemple #1
0
 /**
  * Create a new scheduled job and save it to the specified queue.
  *
  * @param timestamp $at
  *            UNIX timestamp when job should be executed.
  * @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 enqueueJobAt($at, $queue, $class, $args = array())
 {
     return ResqueScheduler::enqueueAt($at, $queue, $class, $args);
 }