MarkLogic version - 9.0-6.2
I have a custom javascript code deployed into data-hub-MODULES database (plugins\entities\testentity\harmonize\REST\services\test.sjs). I am able to invoke this code using custom REST end point. However, I am trying to invoke this code through a batch script (.sh) so that I can schedule the run through our enterprise scheduler (Control-M).
Can I use gradle tasks to run my javascript module? Are there any other options available?
One option I have is to use informatica to make REST API call to run my module, but I am looking for simpler options. Scheduling directly in MarkLogic admin console is not an option for me as we need to schedule jobs only through enterprise scheduler (Control-M)
Thanks in advance!