lib/ResqueScheduler/Worker.php
public function handleDelayedItems($timestamp = null)
	{
		while (($oldestJobTimestamp = ResqueScheduler::nextDelayedTimestamp($timestamp)) !== false) {
			$this->updateProcLine('Processing Delayed Items');
			$this->enqueueDelayedItemsForTimestamp($oldestJobTimestamp);
		}
	}
public function handleDelayedItems($timestamp = null)
	{
		while (($oldestJobTimestamp = ResqueScheduler::nextDelayedTimestamp($timestamp)) !== false) {
			$this->updateProcLine('Processing Delayed Items');
			$this->enqueueDelayedItemsForTimestamp($oldestJobTimestamp);
		}
	}
public function handleDelayedItems ( $ timestamp = null ) { while ( ( $ oldestJobTimestamp = ResqueScheduler :: nextDelayedTimestamp ( $ timestamp ) ) !== false ) { $ this -> updateProcLine ( 'Processing Delayed Items' ) ; $ this -> enqueueDelayedItemsForTimestamp ( $ oldestJobTimestamp ) ; } }
Handle delayed items for the next scheduled timestamp.

Searches for any items that are due to be scheduled in Resque
and adds them to the appropriate job queue in Resque.

@param DateTime|int $timestamp Search for any items up to this timestamp to schedule.
Handle delayed items for the next scheduled timestamp .