Scheduler for running custom Webscripts and OOTB API

cancel
Showing results for 
Search instead for 
Did you mean: 
piyush48
Active Member II

Scheduler for running custom Webscripts and OOTB API

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
sanjaybandhniya
Senior Member II

Re: Scheduler for running custom Webscripts and OOTB API

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.

Thanks & Regards,
Sanjay