proletarian

rgm 2022-02-16T15:18:31.276139Z

@rgm has joined the channel

rgm 2022-02-16T15:21:13.572419Z

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).

msolli 2022-02-16T18:23:24.600269Z

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?

msolli 2022-02-16T18:24:41.252719Z

Would you mind opening an issue at https://github.com/msolli/proletarian/issues describing the use case, as above? We can work out the details there.

rgm 2022-02-16T23:03:22.152009Z

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.