[ 
https://issues.apache.org/jira/browse/AURORA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15663437#comment-15663437
 ] 

Stephan Erb edited comment on AURORA-1348 at 11/14/16 10:45 AM:
----------------------------------------------------------------

The timezone definition in {{CronModule}} looks like this: 

{code}
      @CmdLine(name = "cron_timezone", help = "TimeZone to use for cron 
predictions.")
      private static final Arg<String> CRON_TIMEZONE = Arg.create("GMT");
{code}

It wires up a scheduler command line flag, so you can change the timezone used 
for cron by starting the scheduler with a flag such as 
{{-cron_timezone='Europe/Berlin'}}. So the 'scheduler-wide timezone' I was 
referring to timezone configured that way.


was (Author: stephanerb):
The timezone definition in {{CronModule}} looks like this: 

{code}
      @CmdLine(name = "cron_timezone", help = "TimeZone to use for cron 
predictions.")
      private static final Arg<String> CRON_TIMEZONE = Arg.create("GMT");
{code}

It wires up a scheduler command line flag, so you can change the timezone used 
for cron by starting the scheduler with the flag such as 
{{-cron_timezone='Europe/Berlin'}}.

> Cron timezone should be configurable per job
> --------------------------------------------
>
>                 Key: AURORA-1348
>                 URL: https://issues.apache.org/jira/browse/AURORA-1348
>             Project: Aurora
>          Issue Type: Story
>          Components: Scheduler
>            Reporter: Stephan Erb
>            Assignee: Jing Chen
>
> As a developer using Aurora to solve problems for my business, I have to 
> execute cron jobs in the timezone of my business entity. As I have to support 
> multiple timezones, I would like to configure the timezone used per cron job.
> *Acceptance criteria:*
> * optional timezone configuration per cron job
> * scheduler-wide timezone configuration is used as a default value when no 
> job-specific timezone is used



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to