Index: /trunk/Ohana/src/opihi/include/scheduler.h
===================================================================
--- /trunk/Ohana/src/opihi/include/scheduler.h	(revision 4575)
+++ /trunk/Ohana/src/opihi/include/scheduler.h	(revision 4576)
@@ -53,4 +53,10 @@
   char   *name;
 
+  int       Nranges;
+  TimeRange *ranges;
+
+  int     Ntotal;  // only construct Ntotal jobs for this task
+  int     Njobs;
+
   float   poll_period;
   float   exec_period;
@@ -59,4 +65,23 @@
   struct timeval last;
 } Task;
+
+// time period include/exclude periods: 
+// date ranges (e_time - e_time) 
+// time ranges (e_time - e_time) (use e_time % 86400)
+// time-of-week ranges  (e_time - e_time
+// -trange Mon Fri (inclusive on days -- end defaults to Fri@23:59:59)
+// -trange 08:00 - 17:00
+// -trange 2005/12/24 2005/12/31
+// be careful of HST!
+// type: day, week, date
+// keep: TRUE: perform action within this time period
+// keep: FALSE: do not perform action within this time period
+  
+typedef struct {
+  e_time start;
+  e_time stop;
+  char type;
+  char keep;
+} TimeRange;
 
 typedef struct {
