Job call
This commit is contained in:
@@ -26,6 +26,7 @@ long jobs_calls(CVars in, CVars &out) {
|
|||||||
logfmt(logINFO, "jobs_calls()");
|
logfmt(logINFO, "jobs_calls()");
|
||||||
out["result"] = "YES I GET TO BACK END";
|
out["result"] = "YES I GET TO BACK END";
|
||||||
long action = REQ_LONG(in, "action", 0, -1);
|
long action = REQ_LONG(in, "action", 0, -1);
|
||||||
|
logfmt(logINFO, "jobs_calls() action=%lu",action);
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case WRENCHBOARD_JOB_LISTJOBS:
|
case WRENCHBOARD_JOB_LISTJOBS:
|
||||||
return WrenchJobManagerList(in, out);
|
return WrenchJobManagerList(in, out);
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
long WrenchJobManagerList( CVars in, CVars &out){
|
long WrenchJobManagerList( CVars in, CVars &out){
|
||||||
|
logfmt(logINFO, "ENTER CALL long WrenchJobManagerList");
|
||||||
long ret = 0;
|
long ret = 0;
|
||||||
const char * loc = getenv("REMOTE_ADDR");
|
const char * loc = getenv("REMOTE_ADDR");
|
||||||
const PGresult *res;
|
const PGresult *res;
|
||||||
|
|||||||
Reference in New Issue
Block a user