Changeset 17353 for trunk/FACT++/scripts


Ignore:
Timestamp:
11/23/13 13:07:16 (11 years ago)
Author:
tbretz
Message:
Added OVTEST as valid task; reduced the number of hours the schedule is retrieved from the past; this is a problem is one starts Main.js early in the evening in winter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/getSchedule.js

    r17188 r17353  
    44{
    55    // List of all available measurement types (see also Observation_class.js)
    6     var measurementType = [ "STARTUP", "IDLE", "DRSCALIB", "SINGLEPE", "DATA", "RATESCAN", "SHUTDOWN" ];
     6    var measurementType = [ "STARTUP", "IDLE", "DRSCALIB", "SINGLEPE", "DATA", "RATESCAN", "SHUTDOWN", "OVTEST" ];
    77
    88    // Get current time
     
    1212    // and entering the new data in the database, we have to use the unique id
    1313    // in Main.js to check if the current observation should be changed (and sub resetted)
    14     start = new Date(start.getTime()-12*3600000);
     14    start = new Date(start.getTime()-10*3600000);
    1515
    1616    // ----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.