User Tools

Site Tools


code:ga_scheduling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
code:ga_scheduling [2009/01/16 13:49] pkubanekcode:ga_scheduling [2009/01/18 11:02] – Added description of tickets table pkubanek
Line 15: Line 15:
 You need to fill **tickets** and **accounts** tables. You need to fill **tickets** and **accounts** tables.
  
-^ Field name ^ Description ^ +**Tickets** table contains those fields:
-| schedticket_id     | integer                     | not null +
-| tar_id             | integer                     |  +
-| account_id         | integer                     |  +
-| obs_num            | integer                     |  +
-| sched_from         | timestamp without time zone |  +
-| sched_to           | timestamp without time zone |  +
-| sched_interval_min | interval                    |  +
-| sched_interval_max | interval       +
  
-===== Using pyrts2 to preview schedules =====+^ Field name ^ Data type ^ Description ^ 
 +| schedticket_id     | integer                     | unique ID of ticket - primary key  | 
 +| tar_id             | integer                     | ID of target which belongs to the ticket | 
 +| account_id         | integer                     | ID of account - can be null if this ticket is out of accounting | 
 +| obs_num            | integer                     | Maximal number of observations - scheduler will try to schedule only observations bellow this number | 
 +| sched_from         | timestamp without time zone | Schedule observation from this time; if null, schedule anytime | 
 +| sched_to           | timestamp without time zone | Schedule observation to this time; if null, schedule anytime | 
 +| sched_interval_min | interval                    | Minimal interval between observations | 
 +| sched_interval_max | interval       | Maximal interval between observations |
  
 +===== Using pyrts2 to preview schedules =====
  
-====== Getting code ====== 
  
 +====== Obtaining and modifying code ======
  
 The GA scheduler code currently lives only in [[http://rts-2.svn.sf.net/viewvc/rts-2/branches/rts-2/REL_0_8_0|REL_0_8_0]] branch. Merging to trunk is expected in a few weeks. To get the code, issue: The GA scheduler code currently lives only in [[http://rts-2.svn.sf.net/viewvc/rts-2/branches/rts-2/REL_0_8_0|REL_0_8_0]] branch. Merging to trunk is expected in a few weeks. To get the code, issue:
code/ga_scheduling.txt · Last modified: 2009/01/18 00:00 (external edit)