enragedginger/akka-quartz-scheduler

Default timezone

cpoissonnier opened this issue · 4 comments

Hello,

Just a quick question ... Don't you think that timezone should be set automaticaly to the system timezone?

I spent 2 hours figuring out why my job wasn't triggered ;)

Thanks for this great extension !

How did you set the defaultTimezone? Doing this doesn't work:

  ...
  quartz {
    defaultTimeZone = "America/Los_Angeles"
...

I hope it will be usefull, even 4 days after !

akka {
  threadPool {
    threadCount = 3
    threadPriority = 5
    daemonThreads = true
  }
  quartz {
    schedules {
      checkEndDate {
        description = "Check expiring convention and accounts"
        expression = "0 0 6 ? * *"
        timezone = "Europe/Paris"
      }
    }
  }
}

@niiamon Can you try changing defaultTimeZone to defaultTimezone and see if that resolves your issue?

Marking this as closed due to lack of a response.