Fork me on GitHub

I'd like to schedule a repeating job and I see that there’s a process_at column on jobs. Is there a way to set this to something other than now? I guess I could write my own wrapper on db/enqueue. (The use case is a job that enqueues its successor job on completion).


Yes, that’s precisely what that column is for. I haven’t needed the functionality yet myself, so I haven’t implemented a enqueue-at! function. Or maybe it’s enqueue-delayed! . Or both?


Would you mind opening an issue at describing the use case, as above? We can work out the details there.


can do, yes. For us, we have a job that polls a (flaky, connection might fail) FTP site to see if there's anything new to nab, and I'd like to have it queue up the next check as its last act before completing.