IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2005, 8:18:09 AM (21 years ago)
Author:
eugene
Message:

updating user commands

File:
1 edited

Legend:

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

    r4539 r4552  
    1 # include "basic.h"
    21# include "scheduler.h"
    32
     
    109int run             PROTO((int, char **));
    1110int stop            PROTO((int, char **));
     11int status_sys      PROTO((int, char **));
     12int kill_job        PROTO((int, char **));
     13int delete_job      PROTO((int, char **));
    1214
    1315static Command cmds[] = { 
     
    2123  {"run",        run,          "run the scheduler"},
    2224  {"stop",       stop,         "stop the scheduler"},
     25  {"status",     status_sys,   "get system status"},
     26  {"kill",       kill_job,     "kill job"},
     27  {"delete",     delete_job,   "delete job"},
     28};
    2329
     30/* these are functions which duplicate actions on the
     31   controller.  these could simply pass the command along
     32   to the controller (and should then be in 'controller'),
     33   or they could add / modify the jobs in the scheduler
     34   job stack
     35
     36  {"job",        job,          "add job"},
    2437  {"kill",       kill_sh,      "kill job"},
    2538  {"delete",     delete,       "delete job"},
    26   {"job",        job,          "add job"},
    27   {"host",       host,         "add / delete / modify host"},
    28   {"check",      check,        "get job or host status"},
    29   {"status",     status,       "get system status"},
    30   {"stdout",     stdout_pc,    "get stdout buffer for job"},
    31   {"stderr",     stderr_pc,    "get stderr buffer for job"},
    32 };
     39  {"stdout",     stdout_sh,    "get stdout buffer for job"},
     40  {"stderr",     stderr_sh,    "get stderr buffer for job"},
     41*/
    3342
    3443void InitSched () {
Note: See TracChangeset for help on using the changeset viewer.