diff --git a/SAS/TMSS/services/scheduling/bin/tmss_scheduling_service b/SAS/TMSS/services/scheduling/bin/tmss_scheduling_service index 7783c9a8b7eb848608427c9ed3ea5cfd366b24a2..da7029c677de2d2cde339d9bd5d800855b5e3725 100755 --- a/SAS/TMSS/services/scheduling/bin/tmss_scheduling_service +++ b/SAS/TMSS/services/scheduling/bin/tmss_scheduling_service @@ -17,15 +17,15 @@ # You should have received a copy of the GNU General Public License along # with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>. + import os from optparse import OptionParser - import logging logger = logging.getLogger(__name__) -from lofar.sas.tmss.services.subtask_scheduling import create_subtask_scheduling_service from lofar.common.util import waitForInterrupt -from lofar.messaging.config import DEFAULT_BUSNAME, DEFAULT_BROKER +from lofar.messaging.config import DEFAULT_BROKER, DEFAULT_BUSNAME +from lofar.sas.tmss.services.subtask_scheduling import create_subtask_scheduling_service def main(): # make sure we run in UTC timezone @@ -35,7 +35,7 @@ def main(): # Check the invocation arguments parser = OptionParser('%prog [options]', - description='run the tmss_scheduling_service which automatically schedules the defined successor tasks for finished subtasks') + description='run the tmss_subtask_scheduling_service which automatically schedules the defined successor tasks for finished subtasks') parser.add_option('-q', '--broker', dest='broker', type='string', default=DEFAULT_BROKER, help='Address of the messaging broker, default: %default') parser.add_option('--exchange', dest='exchange', type='string', default=DEFAULT_BUSNAME, help='Name of the exchange on the messaging broker, default: %default') parser.add_option('-t', '--tmss_client_credentials_id', dest='tmss_client_credentials_id', type='string',