Changeset 4576 for trunk/Ohana/src/opihi/include/scheduler.h
- Timestamp:
- Jul 18, 2005, 7:32:29 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/scheduler.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/scheduler.h
r4573 r4576 53 53 char *name; 54 54 55 int Nranges; 56 TimeRange *ranges; 57 58 int Ntotal; // only construct Ntotal jobs for this task 59 int Njobs; 60 55 61 float poll_period; 56 62 float exec_period; … … 59 65 struct timeval last; 60 66 } Task; 67 68 // time period include/exclude periods: 69 // date ranges (e_time - e_time) 70 // time ranges (e_time - e_time) (use e_time % 86400) 71 // time-of-week ranges (e_time - e_time 72 // -trange Mon Fri (inclusive on days -- end defaults to Fri@23:59:59) 73 // -trange 08:00 - 17:00 74 // -trange 2005/12/24 2005/12/31 75 // be careful of HST! 76 // type: day, week, date 77 // keep: TRUE: perform action within this time period 78 // keep: FALSE: do not perform action within this time period 79 80 typedef struct { 81 e_time start; 82 e_time stop; 83 char type; 84 char keep; 85 } TimeRange; 61 86 62 87 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.
