Changeset 13541
- Timestamp:
- May 30, 2007, 12:14:21 PM (19 years ago)
- Location:
- trunk/Ohana/src/opihi/pantasks
- Files:
-
- 2 edited
-
init.c (modified) (2 diffs)
-
init_server.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/init.c
r12467 r13541 17 17 int stop PROTO((int, char **)); 18 18 int halt PROTO((int, char **)); 19 int flush_jobs PROTO((int, char **)); 19 20 int pulse PROTO((int, char **)); 20 int showtask PROTO((int, char **));21 int showtask PROTO((int, char **)); 21 22 int status_sys PROTO((int, char **)); 22 23 int kill_job PROTO((int, char **)); … … 27 28 28 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"}, 29 32 {"controller", controller, "controller commands"}, 30 {"task", task, "define a schedulable task"}, 33 {"delete", delete_job, "delete job"}, 34 {"halt", halt, "halt the scheduler (no job harvesting)"}, 31 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"}, 32 38 {"nmax", task_nmax, "define maximum number of jobs for a task"}, 33 39 {"npending", task_npending, "define maximum number of outstanding jobs for a task"}, 34 {"active", task_active, "set the active state of a task"},35 {"trange", task_trange, "define valid/invalid time periods for a task"},36 {"task.exit", task_macros, "define exit macros for a task"},37 {"task.exec", task_macros, "define pre-exec macro for a task"},38 {"command", task_command, "define executed command for a task"},39 40 {"options", task_options, "define optional variables associated with the job task"}, 40 41 {"periods", task_periods, "define time scales for a task"}, 41 {"stdout", task_stdout, "define a file for the job stdout dump"}, 42 {"stderr", task_stderr, "define a file for the job stderr dump"}, 42 {"pulse", pulse, "set the scheduler update period"}, 43 43 {"run", run, "run the scheduler"}, 44 {"stop", stop, "stop the scheduler (continue job harvesting)"}, 45 {"halt", halt, "halt the scheduler (no job harvesting)"}, 46 {"pulse", pulse, "set the scheduler update period"}, 44 {"flush", flush_jobs, "flush all jobs from the queue"}, 47 45 {"showtask", showtask, "list a task"}, 48 46 {"status", status_sys, "get system or task status"}, 49 {"kill", kill_job, "kill job"}, 50 {"delete", delete_job, "delete job"}, 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"}, 51 55 {"version", version, "show version information"}, 52 {"verbose", verbose, "set/toggle verbose mode"},53 {"ipptool2book", ipptool2book, "convert queue with ipptool output to book"},54 56 }; 55 57 -
trunk/Ohana/src/opihi/pantasks/init_server.c
r10997 r13541 5 5 int task_host PROTO((int, char **)); 6 6 int task_nmax PROTO((int, char **)); 7 int task_npending PROTO((int, char **)); 8 int task_active PROTO((int, char **)); 7 9 int task_trange PROTO((int, char **)); 8 10 int task_macros PROTO((int, char **)); … … 10 12 int task_options PROTO((int, char **)); 11 13 int task_periods PROTO((int, char **)); 14 int task_stdout PROTO((int, char **)); 15 int task_stderr PROTO((int, char **)); 12 16 int pulse PROTO((int, char **)); 17 int flush_jobs PROTO((int, char **)); 13 18 int status_server PROTO((int, char **)); 19 int showtask PROTO((int, char **)); 14 20 int kill_job PROTO((int, char **)); 15 21 int delete_job PROTO((int, char **)); … … 20 26 21 27 static Command cmds[] = { 28 {"active", task_active, "set the active state of a task"}, 29 {"command", task_command, "define executed command for a task"}, 22 30 {"controller", controller, "controller commands"}, 23 {" task", task, "define a schedulable task"},31 {"delete", delete_job, "delete job"}, 24 32 {"host", task_host, "define host machine for a task"}, 33 {"ipptool2book", ipptool2book, "convert queue with ipptool output to book"}, 34 {"kill", kill_job, "kill job"}, 25 35 {"nmax", task_nmax, "define maximum number of jobs for a task"}, 26 {"trange", task_trange, "define valid/invalid time periods for a task"},27 {"task.exit", task_macros, "define exit macros for a task"},28 {"task.exec", task_macros, "define pre-exec macro for a task"},29 {"command", task_command, "define executed command for a task"},30 36 {"options", task_options, "define optional variables associated with the job task"}, 37 {"npending", task_npending, "define maximum number of outstanding jobs for a task"}, 31 38 {"periods", task_periods, "define time scales for a task"}, 32 39 {"pulse", pulse, "set the scheduler update period"}, 40 {"flush", flush_jobs, "flush all jobs from the queue"}, 33 41 {"server", server, "server-specific commands"}, 42 {"showtask", showtask, "list a task"}, 34 43 {"status", status_server, "get system status"}, 35 {"kill", kill_job, "kill job"}, 36 {"delete", delete_job, "delete job"}, 44 {"stderr", task_stderr, "define a file for the job stderr dump"}, 45 {"stdout", task_stdout, "define a file for the job stdout dump"}, 46 {"task", task, "define a schedulable task"}, 47 {"task.exec", task_macros, "define pre-exec macro for a task"}, 48 {"task.exit", task_macros, "define exit macros for a task"}, 49 {"trange", task_trange, "define valid/invalid time periods for a task"}, 50 {"verbose", verbose, "set/toggle verbose mode"}, 37 51 {"version", version, "show version information"}, 38 {"verbose", verbose, "set/toggle verbose mode"},39 {"ipptool2book", ipptool2book, "convert queue with ipptool output to book"},40 52 }; 41 53
Note:
See TracChangeset
for help on using the changeset viewer.
