[SCHEDULER-449]  Extend periodic AF on Obs with AF, may be cosmetic
Type Bug
Priority High
Severity Show Stopper
Component Dispatch Scheduler Engine
Fixed In Version [3.33.3
Versions Affected [3.33.3
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 11/26/2010

Description
Run Plan with Observation specifying Autofocus before observing. Periodic AF set to 2 hours. See this in the log.

15-Sep-2010 17:47:22.8: Obs already has autofocus, extend next periodic autofocus
15-Sep-2010 17:47:22.8: Next periodic autofocus moved to 01-Jan-0001 02:00:00 UTC

The date is wrong. Is it a logging issue or is the next Periodic AF wrong?

Comments
11/26/2010 11:43:03 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 110
Affected files /trunk/Help/RelNotes.htm (Modified)
/trunk/Scheduler/Engine.cs (Modified)
Check-in comment Several fixes to periodic autofocus and one to the outer loop of the dispatcher. GEM:449
11/26/2010 11:34:11 AM   Bob Denny
Even worse, the interval was being added to the next scheduled AF time not the current time!
11/26/2010 11:24:23 AM   Bob Denny
This is worse. If Periodic AF is on, the first obs gets run before the initial/startup AF. Thus s_NextAF is not yet set, hence the symptom we saw.
11/26/2010 11:18:20 AM   Bob Denny
It's wrong, not cosmetic.