Changeset 16453 for trunk/Ohana/src/opihi/pantasks/init.c
- Timestamp:
- Feb 13, 2008, 3:30:31 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/init.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/init.c
r13541 r16453 2 2 3 3 int controller PROTO((int, char **)); 4 int task PROTO((int, char **));5 int task_host PROTO((int, char **));6 int task_nmax PROTO((int, char **));4 int task PROTO((int, char **)); 5 int task_host PROTO((int, char **)); 6 int task_nmax PROTO((int, char **)); 7 7 int task_npending PROTO((int, char **)); 8 int task_active PROTO((int, char **));9 int task_trange PROTO((int, char **));10 int task_macros PROTO((int, char **));8 int task_active PROTO((int, char **)); 9 int task_trange PROTO((int, char **)); 10 int task_macros PROTO((int, char **)); 11 11 int task_command PROTO((int, char **)); 12 12 int task_options PROTO((int, char **)); … … 28 28 29 29 static Command cmds[] = { 30 { "active", task_active,"set the active state of a task"},31 { "command", task_command,"define executed command for a task"},32 { "controller", controller,"controller commands"},33 { "delete", delete_job,"delete job"},34 { "halt", halt,"halt the scheduler (no job harvesting)"},35 { "host", task_host,"define host machine for a task"},36 { "ipptool2book", ipptool2book, "convert queue with ipptool output to book"},37 { "kill", kill_job,"kill job"},38 { "nmax", task_nmax,"define maximum number of jobs for a task"},39 { "npending", task_npending, "define maximum number of outstanding jobs for a task"},40 { "options", task_options,"define optional variables associated with the job task"},41 { "periods", task_periods,"define time scales for a task"},42 { "pulse", pulse,"set the scheduler update period"},43 { "run", run,"run the scheduler"},44 { "flush", flush_jobs, "flush all jobs from the queue"},45 { "showtask", showtask,"list a task"},46 { "status", status_sys,"get system or task status"},47 { "stderr", task_stderr,"define a file for the job stderr dump"},48 { "stdout", task_stdout,"define a file for the job stdout dump"},49 { "stop", stop,"stop the scheduler (continue job harvesting)"},50 { "task", task,"define a schedulable task"},51 { "task.exec", task_macros,"define pre-exec macro for a task"},52 { "task.exit", task_macros,"define exit macros for a task"},53 { "trange", task_trange,"define valid/invalid time periods for a task"},54 { "verbose", verbose,"set/toggle verbose mode"},55 { "version", version,"show version information"},30 {1, "active", task_active, "set the active state of a task"}, 31 {1, "command", task_command, "define executed command for a task"}, 32 {1, "controller", controller, "controller commands"}, 33 {1, "delete", delete_job, "delete job"}, 34 {1, "halt", halt, "halt the scheduler (no job harvesting)"}, 35 {1, "host", task_host, "define host machine for a task"}, 36 {1, "ipptool2book", ipptool2book, "convert queue with ipptool output to book"}, 37 {1, "kill", kill_job, "kill job"}, 38 {1, "nmax", task_nmax, "define maximum number of jobs for a task"}, 39 {1, "npending", task_npending, "define maximum number of outstanding jobs for a task"}, 40 {1, "options", task_options, "define optional variables associated with the job task"}, 41 {1, "periods", task_periods, "define time scales for a task"}, 42 {1, "pulse", pulse, "set the scheduler update period"}, 43 {1, "run", run, "run the scheduler"}, 44 {1, "flush", flush_jobs, "flush all jobs from the queue"}, 45 {1, "showtask", showtask, "list a task"}, 46 {1, "status", status_sys, "get system or task status"}, 47 {1, "stderr", task_stderr, "define a file for the job stderr dump"}, 48 {1, "stdout", task_stdout, "define a file for the job stdout dump"}, 49 {1, "stop", stop, "stop the scheduler (continue job harvesting)"}, 50 {1, "task", task, "define a schedulable task"}, 51 {1, "task.exec", task_macros, "define pre-exec macro for a task"}, 52 {1, "task.exit", task_macros, "define exit macros for a task"}, 53 {1, "trange", task_trange, "define valid/invalid time periods for a task"}, 54 {1, "verbose", verbose, "set/toggle verbose mode"}, 55 {1, "version", version, "show version information"}, 56 56 }; 57 57 … … 68 68 } 69 69 } 70 71 void FreePantasks () { 72 FreeTasks (); 73 FreeJobs (); 74 FreeJobIDs (); 75 }
Note:
See TracChangeset
for help on using the changeset viewer.
