Unanswered
Hi There, I Am Running A Clearml-Agent And Now Trying To Run A Pipeline On A Schedule. When I Try Run The Schedule Using The Queue Assigned To The Worker I'Ve Got Running, I Get The Following Error About
This is schedule.py
where the schedule_task_id
is the id for a pipeline that has previously been run and now we want to schedule it:
from clearml import Task
from clearml.automation import TaskScheduler
if __name__ == "__main__":
scheduler = TaskScheduler(force_create_task_name='megan-test-remote-pipeline')
scheduler.add_task(
name='Simple Pipeline Schedule Run Test',
schedule_task_id='94a7e898bb3f4494a31828187710f5bd',
queue='megan_testing',
minute=2,
weekdays=['monday', 'tuesday', 'wednesday', 'thursday', 'friday'],
recurring=True,
execute_immediately=True
)
scheduler.start_remotely(queue='megan-testing')
print('This line will run remotely')
104 Views
0
Answers
10 months ago
10 months ago