on 2024 Mar 11 5:33 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
29 | |
9 | |
9 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.