rd-jobs purging multiple jobs without explicitly passing their ids.

197 views
Skip to first unread message

Agathish-sfdc

unread,
Jun 12, 2013, 8:14:35 PM6/12/13
to rundeck-discuss
Hello,
I am trying to purge multiple jobs from a project. Is there a way
for me to purge all jobs under a project short of listing every id?
This is for our test harness.

Thanks for your time,
Agathish
Salesforce.com

Alex Honor

unread,
Jun 12, 2013, 10:15:14 PM6/12/13
to rundeck...@googlegroups.com
Hi Agathish,

You can use the `rd-jobs purge` to do that. Here's the man page: http://rundeck.org/docs/manpages/man1/rd-jobs.html#purge-action-options

To remove jobs that begins with name say:

     rd-jobs purge -p examples -n name

If you want to remove jobs in any group say:

     rd-jobs purge -p examples -g '*'

Thanks



--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--

Alex Honor

[SimplifyOps, Inc | a...@simplifyops.com ]

Be sure to comment and vote on Rundeck Feature Development!

Agathish Varadharajan

unread,
Jun 13, 2013, 1:24:29 PM6/13/13
to rundeck...@googlegroups.com, Alex Honor
Thanks for the reply, Alex. rd-jobs purge -p examples -g '*' was what I was looking for !
Reply all
Reply to author
Forward
0 new messages