IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2007, 12:14:21 PM (19 years ago)
Author:
eugene
Message:

fix up pantasks server commands, added modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/init_server.c

    r10997 r13541  
    55int task_host       PROTO((int, char **));
    66int task_nmax       PROTO((int, char **));
     7int task_npending   PROTO((int, char **));
     8int task_active     PROTO((int, char **));
    79int task_trange     PROTO((int, char **));
    810int task_macros     PROTO((int, char **));
     
    1012int task_options    PROTO((int, char **));
    1113int task_periods    PROTO((int, char **));
     14int task_stdout     PROTO((int, char **));
     15int task_stderr     PROTO((int, char **));
    1216int pulse           PROTO((int, char **));
     17int flush_jobs      PROTO((int, char **));
    1318int status_server   PROTO((int, char **));
     19int showtask        PROTO((int, char **));
    1420int kill_job        PROTO((int, char **));
    1521int delete_job      PROTO((int, char **));
     
    2026
    2127static Command cmds[] = { 
     28  {"active",     task_active,   "set the active state of a task"},
     29  {"command",    task_command,  "define executed command for a task"},
    2230  {"controller", controller,    "controller commands"},
    23   {"task",       task,          "define a schedulable task"},
     31  {"delete",     delete_job,    "delete job"},
    2432  {"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"},
    2535  {"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"},
    3036  {"options",    task_options, "define optional variables associated with the job task"},
     37  {"npending",   task_npending, "define maximum number of outstanding jobs for a task"},
    3138  {"periods",    task_periods,  "define time scales for a task"},
    3239  {"pulse",      pulse,         "set the scheduler update period"},
     40  {"flush",      flush_jobs,    "flush all jobs from the queue"},
    3341  {"server",     server,        "server-specific commands"},
     42  {"showtask",   showtask,      "list a task"},
    3443  {"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"},
    3751  {"version",    version,       "show version information"},
    38   {"verbose",    verbose,       "set/toggle verbose mode"},
    39   {"ipptool2book", ipptool2book, "convert queue with ipptool output to book"},
    4052};
    4153
Note: See TracChangeset for help on using the changeset viewer.