Closed connorskees closed 3 years ago
Hello,
I am hoping to have a cron job be run everyday at 10:45 PST in order to interact with an API. The relevant code I'm using is,
CronExpression expression = new CronExpression("0 45 10 1/1 * ? *") expression.timeZone = TimeZone.getTimeZone("America/Los_Angeles") cron name: "foo", cronExpression: expression
which unfortunately runs at 10:45 UTC, regardless of the timezone specified (in this case, "America/Los_Angeles").
"America/Los_Angeles"
Is there an alternate way to specify timezone, or would this be considered a bug? I am using quartz version 2.0.13.
Hello,
I am hoping to have a cron job be run everyday at 10:45 PST in order to interact with an API. The relevant code I'm using is,
which unfortunately runs at 10:45 UTC, regardless of the timezone specified (in this case,
"America/Los_Angeles"
).Is there an alternate way to specify timezone, or would this be considered a bug? I am using quartz version 2.0.13.