Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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

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

Avatar

Level 3

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