cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduler for running custom Webscripts and OOTB API

piyush48
Star Contributor
Star Contributor

Hi All,

I want to create Scheduler for executing custom webscripts which i have with me. Since that webscripts use Json object for input how can we use that webscript in a scheduler. Also i uses few OOTB API like Delete API etc. So how can i use that in my Scheduler.

My custom Webscript takes .csv and Json as Outputs. So i am not getting way how to proceed with that.

Thanks and Regards,

Piyush Patel

1 REPLY 1

sanjaybandhniya
Elite Collaborator
Elite Collaborator

1) For custom webscript, you can follow service and serviceImpl approach and write your core logic in that service.After that use service to call method from scheduler and webscript.

2)For OOTB api, you need to check which service they are using. You can directly use that service from your scheduler.