You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by "Amit.. Gupta." <am...@adobe.com> on 2012/04/05 13:06:54 UTC

how can I check status of sling job

Hi,

I need to check the status of a sling job. I could not find any api for the same in JobManager [1].

Am I looking at a wrong place? Or is there no such api?

Thanks,
Amit

[1] http://sling.apache.org/apidocs/sling6/index.html?org/apache/sling/event/jobs/package-tree.html

Re: how can I check status of sling job

Posted by Carsten Ziegeler <cz...@apache.org>.
Hi,

you can use JobManager#queryJobs.

Regards
Carsten

2012/4/5 Amit.. Gupta. <am...@adobe.com>:
> Hi,
>
> I need to check the status of a sling job. I could not find any api for the same in JobManager [1].
>
> Am I looking at a wrong place? Or is there no such api?
>
> Thanks,
> Amit
>
> [1] http://sling.apache.org/apidocs/sling6/index.html?org/apache/sling/event/jobs/package-tree.html



-- 
Carsten Ziegeler
cziegeler@apache.org