5

On my Rundeck there are multiple projects and jobs under these projects are triggered by schedule and some run for a a few minutes to an hour.

I want to restart the rundeck server to apply some configuration changes without having to affect these jobs so I want to know if there are any currently running jobs from each projects.

I know I can manually go through each project and check each running job but i want to see all of it at once.

Is this possible?

DRTauli
  • 731
  • 1
  • 8
  • 25
  • Still dont have that feature with the latest build. Try posting a feature request at https://github.com/rundeck/rundeck/issues – Leo Prince May 18 '16 at 13:48

2 Answers2

1

In case it's still relevant:

You can either query the DB directly: H2/internal or external wherever you've put it.

Or using the API (simply list all projects and query for each one the running jobs.

1

It can be done using the CLI with something like:

for i in $(rd projects list | grep -v ^#); do
  rd executions list -p $i;
done
Atanas
  • 11
  • 1