-- KEYS[1]: the scheduled jobs set
-- KEYS[2]: the active job list
-- KEYS[3]: the signal list
-- ARGV[1]: the current timestamp
-- ARGV[2]: the max number of jobs to schedule
-- Returns: nil
-- Get the jobs out of the scheduled set
local job_ids = redis.
local count = table.
if count > 0
return count