on 11-24-2017 9:39 AM
Hi All,
We are trying to schedule a procedure through xsjob below is the code--
xsjob---
{ "description" : "Run the procedure",
"action": "package::PROCEDURE",
"schedules": [ { "description" : "Schedule Procedure",
"xscron" : "2016 * * * * * *"
} ] }
PROCEDURE----
PROCEDURE "_SYS_BIC"."package::PROCEDURE" ()
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
--DEFAULT SCHEMA <default_schema_name>
--READS SQL DATA
AS
BEGIN
UPDATE "CUSTOM"."Table" SET "column" ='11';
END;
while trying to scheduled this procedure through design_time job its executed but while trying to run through run_time job its throwing the following error-----
Schedules.add: wrapping parameter object for sql script failed
But surprisingly while trying to schedule the procedure with parameters its working perfectly.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.