diff --git a/SAS/TMSS/scripts/tmss_create_idols_scheduling_units b/SAS/TMSS/scripts/tmss_create_idols_scheduling_units index 33ec929592a9b6f17778fb649c304e53698e7133..96e85ba24bf17804b69ca09a0d2233036070b5d7 100755 --- a/SAS/TMSS/scripts/tmss_create_idols_scheduling_units +++ b/SAS/TMSS/scripts/tmss_create_idols_scheduling_units @@ -121,7 +121,8 @@ with TMSSsession.create_from_dbcreds_for_ldap(args.rest_api_credentials) as clie spec_doc = client.get_scheduling_unit_observing_strategy_template_specification_with_just_the_parameters(template['name'], template['version']) # override with our specific wishes - label = '%s_spectrum_LBA-%s-run1' % ("Sun" if period=='daytime' else "IDOLS_nighttime", datestamp.strftime('%Y%m%d'),) + label = '%s_LBA-%s' % ("Sun" if period=='daytime' else "IDOLS_nighttime", datestamp.strftime('%Y%m%d'),) + spec_doc['scheduling_constraints_doc']['scheduler'] = "fixed_time" spec_doc['scheduling_constraints_doc']['time']['at'] = start_time.strftime('%Y-%m-%dT%H:%M:%SZ') spec_doc['tasks']['BF 1 station LBA']['specifications_doc']['duration'] = (end_time-start_time).total_seconds() spec_doc['tasks']['BF 1 station LBA']['short_description'] = label