CDR Tickets

Issue Number 4141
Summary [Scheduler] Modify scheduler to use local time
Created 2016-08-08 14:34:42
Issue Type Improvement
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2016-11-06 14:19:55
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.191907
Description

The scheduler needs to behave the way cron does, using local time to schedule jobs. Otherwise, we'll have to manually adjust the times for each job twice a year, when we hit the silly "daylight savings time" transitions.

Comment entered 2016-11-01 15:50:02 by Kline, Bob (NIH/NCI) [C]

I have added the time zone to the settings file. The documentation for ndscheduler is pretty thin, so we have no clue whether this will actually fix the problem. We'll find out next week when we flip back from EDT to EST this coming weekend. We'll see if the local times here are the same:

Comment entered 2016-11-06 14:19:55 by Kline, Bob (NIH/NCI) [C]

Adding the time zone to the settings file took care of it. So the docs are wrong, but the behavior is what we want.

Comment entered 2017-08-09 11:25:38 by Kline, Bob (NIH/NCI) [C]

This is in production.

Attachments
File Name Posted User
2016-11-01 15_33_48-Scheduler.png 2016-11-01 15:36:00 Kline, Bob (NIH/NCI) [C]

Elapsed: 0:00:00.001562