[SCHEDULER-1909]  Fixed Time Plans - Use End Time to Kill the Plan Successfully
Type Enhancement
Priority High
Severity Major
Component AcquireScheduler Script, Web Schedule Browser
Fixed In Version [9.1.39.1.3
Versions Affected [9.09.0
Severity Beta Test
Resolution More To Do
Reported By Bob Denny
Resources Bob Denny
Start Date 7/6/2023

Description
See this Comm Center thread by Chuck Cynamon. For Fixed time plans, the End time is actually not used other that at StartTimedPlans() to test if the end time is already passed and not start it.  Improve logging in StartTimedPlans() for late start of the dispatcher

Comments
1/8/2024 2:09:08 PM   Bob Denny
Update: 8.1.3 has good docs, removal of the debug popups and is OK at Geoff Stone's and Grady's.

Problem: the repeat coults on ImageSet or Observation are not updated at early termination, leading to wildly high numbers for completed Plans in the Schedule Browser's tables.
1/3/2024 6:36:28 AM   Bob Denny
This is it. Running well at Grady's giving to Chuck Cynamon for testing.
1/3/2024 6:34:25 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 945
Affected files /trunk/Help/Advanced.htm (Modified)
/trunk/Help/Home.htm (Modified)
/trunk/Help/images/FixedTime .png (Added)
Check-in comment Documentation for improved fixed time (going into 9.1.3) GEM:1909
12/6/2023 5:55:38 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 942
Affected files /trunk/AcquireScheduler.vbs (Modified)
Check-in comment Oops forgot to commit the Changes to AcquireScheduler for stop at forced time on Obs with large SetCount. GEM:1909
11/26/2023 4:59:38 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 941
Affected files /trunk/Help/Advanced.htm (Modified)
/trunk/Help/RelNotes.htm (Modified)
/trunk/Scheduler/AssemblyInfo.cs (Modified)
/trunk/Scheduler/Engine.cs (Modified)
Check-in comment Fix forced-end fixed-time Plans for Observations with high repeat counts. Update Advanced features docs to describe forced-end. GEM:1909
11/26/2023 2:08:03 PM   Bob Denny
REOPENED

See this thread. My initial change in AcquireScheduler takes care of the case where a single ImageSet has "lots" of images. However the case where the Observation itself has a large Set Count is not handled. The Observation is repeatedly sent to ACP only to be quickly terminated for running beyond the forced end time. 

This really needed to be handled in the Engine. 
8/11/2023 1:28:48 PM   Bob Denny
SVN Comment
Author rbdenny
Repository bdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp/trunk/WebDocs/ac
SVN Revision 1440
Affected files /trunk/WebDocs/ac/asphotosingle.asp (Modified)
Check-in comment Change description field wording from Image Series to Time Series GEM:1909
8/11/2023 1:15:02 PM   Bob Denny
As reported by Dick Berg here, the change from Image Series to Time Series is not reflected in the Description of the plan.
7/14/2023 12:30:38 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 935
Affected files /trunk/ACP Web Content/ACP-WebDocs-sc/seditplan.asp (Modified)
Check-in comment Fix help info for end time on fixed-time plans. GEM:1909
7/13/2023 5:43:07 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 932
Affected files /trunk/ACP Web Content/ACP-WebDocs-sc/seditplan.asp (Modified)
Check-in comment Make Schedule Browser's Plan editor responsive for Fixed Time. GEM:1909
7/13/2023 11:11:11 AM   Bob Denny
Schedule Browser's Edit Plan form needs to reflect the mode changes for fixed time.
7/11/2023 12:45:59 PM   Bob Denny
Also given to Grady Boyce, who quickly came back with changes to the Single Series and Astro Imaging forms in the timing section. The Must Run Before disappears!!! This will require changes to the main Web UI.
7/10/2023 10:36:02 AM   Bob Denny
Upgraded AcquireScheduler sent to customer.
7/7/2023 12:40:26 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/scheduler
SVN Revision 931
Affected files /trunk/AcquireScheduler.vbs (Modified)
/trunk/Help/RelNotes.htm (Modified)
Check-in comment Allow latest time on fixed-time plans to force (successful) termination of the Observation (and Plan) at the Latest time. If the earliest and latest are the same thjis will be skipped and the plan will run till the request is completed. GEM:1909
7/7/2023 12:29:42 PM   Bob Denny
Looking good! Need to sent to customer for testing, along with scheduler.exe with recent fixed time enhancements.
7/6/2023 3:57:28 PM   Bob Denny
Looks hopeful, with just changes to AcquireScheduler!!