Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

writing sling scheduler/curl commands

Avatar

Level 4

Hi Friends,

Can someone help me how to write sling scheduler and call curl commands in the scheduler.

Regards

Pr@veen

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this this helpx article for your help:

Link:- https://helpx.adobe.com/experience-manager/using/aem-first-components1.html

// It covers how to create an AEM Sling Scheduler Service

And here, you need to trigger Curl command from JAVA code.

 

Link:- http://stackoverflow.com/questions/24053634/using-curl-command-in-java

// Using curl command in java

I hope this would help you.

~kautuk



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this this helpx article for your help:

Link:- https://helpx.adobe.com/experience-manager/using/aem-first-components1.html

// It covers how to create an AEM Sling Scheduler Service

And here, you need to trigger Curl command from JAVA code.

 

Link:- http://stackoverflow.com/questions/24053634/using-curl-command-in-java

// Using curl command in java

I hope this would help you.

~kautuk



Kautuk Sahni

Avatar

Level 3

Here is some sample code for creating a scheduler. Use the link mentioned by Kautuk to incorporate CURL commands.