kjob
kjob copied to clipboard
only support UTC time?
when i add a kron job, cronExpression like this: "0 0 1 * * ?",it should have started at 1:00 every day,but not. I checked the code,I found this
class InMemKJob(config: Configuration) : BaseKJob<InMemKJob.Configuration>(config) {
class Configuration : BaseKJob.Configuration() {
/**
* The timeout until a kjob instance is considered dead if no 'I am alive' notification occurred
*/
var expireLockInMinutes = 5L
}
override val jobRepository: JobRepository = InMemJobRepository(Clock.systemUTC())
override val lockRepository: LockRepository = InMemLockRepository(config, Clock.systemUTC())
}
It seems to only be supported UTC time, Can I change the time zone?