Very cool that been bugging me for a while I usually just go into the database and delete the offending task<br><br><span style="font-family:Prelude, Verdana, san-serif;"><br><br></span><span id="signature"><div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">-- Sent from my HP Pre3</div><br></span><span style="color:navy; font-family:Prelude, Verdana, san-serif; "><hr align="left" style="width:75%">On Apr 23, 2014 11:55, Tomas Lestach <tlestach@redhat.com> wrote: <br><br></span>> Hello Folks, <br>>  <br>> Anyone know what the current command is to clear a orphaned <br>> taskomatic <br>> schedule (channel deleted without scheduler knowing about it) <br> <br>Actually I added some extra code to delete reposync schedules for invalid channel_ids 2 months ago. <br>See  <br>https://github.com/spacewalkproject/spacewalk/commit/acae7d2a4b11c3795299b4af5d9f13bb8d911aee <br>for more details. <br>Everything, what's needed is to restart taskomatic. The change will be part of Spacewalk 2.2. <br> <br> <br>> Taskomatic bunch repo-sync-bunch was scheduled to run within the <br>> repo-sync-2-113 schedule. <br>>  <br>> Subtask repo-sync failed. <br>>  <br>... <br>> The command that Tomas provided the past for older spacewalk does not <br>> seem to work any more. <br>>  <br>> client.taskomatic.org.unscheduleBunch(key, 'repo-sync-2-113'); <br>>  <br>> -bash: syntax error near unexpected token `key,' <br> <br>This is not a command, but an API call. So, it cannot be interpreted by bash. <br>Check <br>https://<your_spacewalk_machine>/rhn/apidoc/scripts.jsp <br>for some sample scripts, how to call API. <br>The API should definitely work. <br> <br> <br>Regards, <br>-- <br>Tomas Lestach <br>Red Hat Satellite Engineering, Red Hat <br> <br>_______________________________________________ <br>Spacewalk-list mailing list <br>Spacewalk-list@redhat.com <br>https://www.redhat.com/mailman/listinfo/spacewalk-list <br>