cancel
Showing results for 
Search instead for 
Did you mean: 

sap webide .xsjob

wjdsouza
Explorer
0 Kudos
331

Hi, can you please support me to configure the jobScheduler using .xsjob file

1. Used XS advanced cockpit -> job scheduler and created an instance jobScheduler

2. Assigned the required admin job role templates to my userid (Jobascheduler_adminstration,viewer,configuration)

3. In the webide,  created node.js (xsjs folder) and created .xsjob in the lib folder. The job calls sqlscript to update the file and to be run periodically). I've currently installed the same process in XSC.

4. In the mta.yaml file, created the resource jobScheduler.  Assigned the resource jobScheduler in the module xsjs ( node.js) . I do not have any properties assigned to the resource.

5. Built both xsjs and db modules. Created mtar file and deployed successfully.

6. In job Schedule dashboard, I see the instance name jobSchedule and it has bound application xsjs.

7. When I select the open dashboard, i do not see any .xsjob for scheduling.

Can someone please support me to identify whether there is incorrect entries in the mta file or the steps that I followed are incorrect. 

Any help is very much appreciated

View Entire Topic
Bruhn
Explorer
0 Kudos

not sure if you have solved it already - we had a similar issue in our modules after changing to async-xsjs - and in the server.js file we needed to add the service for jobscheduler there. 

 

/MiB