IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 23, 2005, 9:13:00 PM (21 years ago)
Author:
eugene
Message:

added valid time ranges and elements of Njobs, status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/CheckTasks.c

    r4450 r4602  
    1515    if (GetTaskTimer(task[0].last) < task[0].exec_period) continue;
    1616
     17    /* need to check if the current time is within valid/invalid periods */
     18    if (!CheckTimeRanges (task[0].ranges, task[0].Nranges)) continue;
     19
    1720    SetCurrentTask (task[0].name);
    18     fprintf (stderr, "trying task %s\n", task[0].name);
    1921
    2022    /* ready to run? : run task.exec macro */
     
    3537    /* reset timer on task (don't do this if Create/Submit fails)*/
    3638    gettimeofday (&task[0].last, (void *) NULL);
     39    task[0].Njobs ++;
    3740  }
    3841  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.