Need curl command to display queued agents using linux script from AEM
I need curl command to display list of queued agents in AEM author and publisher using Linux scripting. If someone have idea please share.
Thank you.
I need curl command to display list of queued agents in AEM author and publisher using Linux scripting. If someone have idea please share.
Thank you.
Hi EstebanBustamante,
I reviewed above comments and i am able to check the status using below command for single agent.
http://aemHost:port/etc/replication/agents.author/publish/jcr:content.queue.json?agent=publish
But my expectation is to check dynamic for all the queued agents list
present under publisher location(/etc/replication/agents.publish).
Note: I have large no.of agents under publisher.
To clarify, you cannot achieve this with a single request. Instead, you need to follow a series of steps. As I mentioned in my previous answer, first, you should query all the available agents. Then, use the dynamically retrieved agents to gather their details. With that information, you can refine and produce whatever output or formatted response you need. You’ll need to incorporate these steps into a Bash script and use curl as necessary to implement your desired outcome.
I hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.