# File lib/resque/scheduler/server.rb, line 108 def delayed_queue_now timestamp = params['timestamp'].to_i formatted_time = Time.at(timestamp).strftime( ::Resque::Scheduler::Server::TIMESTAMP_FORMAT ) if timestamp > 0 unless Resque::Scheduler.enqueue_next_item(timestamp) @error_message = "Unable to remove item at #{formatted_time}" end else @error_message = "Incorrect timestamp #{formatted_time}" end erb scheduler_template('delayed') end