Scheduler for running custom Webscripts and OOTB API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 07:01 AM
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
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2020 08:23 AM
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.
