On 01/13/2011 09:46 AM, Schugowski, Mario wrote:
Thank you ... it's working ! But where is the Configuration, when Taskomatic
doesn't use the Tables in the Database and is not using the Config files ?
Where is the place where Taskomatic is reading the Configuration ?
Taskomatic does use those tables. But it doesn't work in the way you
change table contents and the jobs get rescheduled. We use an external
library that does the scheduling for us. So within taskomatic - you have
to do both - notify the external library about changes and modify the
table content.
Regards,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:spacewalk-list-
[email protected]] Im Auftrag von Tomas Lestach
Gesendet: Dienstag, 11. Januar 2011 17:22
An: [email protected]
Betreff: Re: [Spacewalk-list] Unnecessary action in taskomatic schedule
Hey Mario,
good question.
To unschedule this particular task, use following API:
taskomatic.unscheduleSatBunch(session_key, 'compare-configs-default')
It's kind od hidden API to manipulate taskomatic configuration.
https://fedorahosted.org/spacewalk/wiki/Features/TaskomaticAPI
(Do not search for more documentation at this time, there isn't more.)
It's definitely not recommended to change rhnTasko* tables content
directly. It won't change the scheduling - in opposite - it would get
the DB out of sync with the scheduling service and there's no
mechanism,
how to sync it back.
-----------------------------------
Computacenter AG& Co. oHG, mit Sitz in Kerpen (Amtsgericht Köln HRA 18096)
Vertretungsberechtigte Gesellschafter:
Computacenter Aktiengesellschaft, mit Sitz in Köln (Amtsgericht Köln HRB 28384)
Vorstand: Oliver Tuszik (Vorsitzender), Dr. Karsten Freihube, Hans-Georg
Freitag, Frank Kottmann, Reiner Louis
Aufsichtsrat: Michael Norris (Vorsitzender)
Computacenter Management GmbH, mit Sitz in Köln (Amtsgericht Köln HRB 28284)
Geschäftsführer: Ulrich Irnich
Visit us on the Internet: http://www.computacenter.de
Visit our Online-Shop: https://shop.computacenter.de
This email is confidential. If you are not the intended recipient, you must not
disclose or use the information contained in it. If you have received this mail
in error, please tell us immediately by return email and delete the document.
-----------------------------------
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list