Changeset 15007


Ignore:
Timestamp:
03/10/13 11:18:41 (12 years ago)
Author:
tbretz
Message:
Added some output before the main loop to simplify detection of wrong schedules.
File:
1 edited

Legend:

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

    r15005 r15007  
    544544var lastObs;
    545545
     546var test = getObservation();
     547if (test!=undefined && test<observations.length)
     548{
     549    var t = observations[test].start;
     550    var n = new Date();
     551    if (t>n)
     552        console.out(n.toUTCString()+": First observation scheduled for "+t.toUTCString());
     553    else
     554        console.out(n.toUTCString()+": First observation should start immediately.");
     555    if (t>n+12*3600*1000)
     556        console.out(n.toUTCString()+": No observations scheduled for the next 12 hours!");
     557}
     558
    546559while (1)
    547560{
Note: See TracChangeset for help on using the changeset viewer.