chronos icon indicating copy to clipboard operation
chronos copied to clipboard

Chronos UI doesn't support "scheduleTimeZone" when job is created.

Open alex-ren opened this issue 8 years ago • 1 comments

I observed the following in Chronos v3.0.0.

The Chronos documentation says Chronos support "scheduleTimeZone", and it has high priority. I defined the job as the following. { "schedule": "R1/2017-03-11T17:25:00Z/PT12H", "scheduleTimeZone": "PST", "name": "samplejob", "epsilon": "PT15M", "command": "/bin/date; sleep 3; echo 'helloy'", "owner": "[email protected]", "cpus": "0.2", "mem": "256", "async": false } I expected the job to start in five minutes. However the UI showed that the job is OVERDUE. But then I manually started the job. After the job succeeded, the UI showed that the next run is in 4 minutes. (The execution of the job took about 1 minute.)

Then I defined the job as the following. { "schedule": "R1/2017-03-11T17:25:00-08:00/PT12H", "name": "samplejob", "epsilon": "PT15M", "command": "/bin/date; sleep 3; echo 'helloy'", "owner": "[email protected]", "cpus": "0.2", "mem": "256", "async": false } The UI showed that the job will start in 3 minutes. (Another one minute just passed for creating a new job.)

It seems that the UI is not handling the "scheduleTimeZone" correctly at the first time.

alex-ren avatar Mar 12 '17 01:03 alex-ren

That's true, the UI doesn't handle timezones.

brndnmtthws avatar Mar 13 '17 17:03 brndnmtthws