admin-announcements

Announcements from the Clojurians Admin Team (@U11BV7MTK @U077BEWNQ @U050TNB9F @U0ETXRFEW @U04V70XH6 @U8MJBRSR5 and others)
sveri 2015-12-20T16:34:29.002179Z

Hi, any opinions on quartzite here? Defining jobs and triggers seems like a lot of code to me. However, when I tried at-at it was like the recurring interval was not exact always

sveri 2015-12-20T16:34:40.002180Z

Alternatives you would prefer?

larhat 2015-12-20T16:43:11.002181Z

@sveri there is https://github.com/prepor/twarc

jaen 2015-12-20T16:45:55.002183Z

Also there's immutant.scheduling - http://immutant.org/documentation/current/apidoc/guide-scheduling.html

sveri 2015-12-20T16:46:36.002184Z

@larhat: Cool, didn't know that, thank you

larhat 2015-12-20T16:47:02.002185Z

@jaen twarc is trying to address some problems of both immutant scheduling and quartzite

sveri 2015-12-20T16:47:52.002186Z

But it looks already better than quartzite

jaen 2015-12-20T16:47:58.002187Z

Yeah, I'm looking at the readme right now.

jaen 2015-12-20T16:48:12.002188Z

Interesting, I thought immutant's scheduler works with clustered Wildfly no problem.

sveri 2015-12-20T16:50:35.002189Z

@larhat: @jaen Hm, why cannot I pass state to immutants scheduler? At least the executing function can take state

sveri 2015-12-20T16:50:41.002190Z

Or am I missing something?

larhat 2015-12-20T16:55:41.002191Z

the key is "explicitly", I guess — jobs in immutant can’t take any arguments, so you have to wrap it in closure

jaen 2015-12-20T16:57:27.002192Z

Yeah, but unless I'm misunderstanding something, how would you pass a DB connection for example? Wouldn't that mean it would have to be somehow persistable?