Unanswered
I Know I Can Run This Manually In Step By Step But Wondering If This Can Be Automated As Scheduled Tasks
Hi PompousParrot44
You can check the cleanup service example.
It sleeps for 24 hours then spins up and does its thing.
You can always launch this service tasks on the services queue, its purpose is to run those services on the trains-server as additional CPU services. They will also be registered as service nodes, so you have visibility into which service is running.
In order to clone a task and wait for its completion.
Use the TrainsJob
https://github.com/allegroai/trains/blob/65a4aa7aa90fc867993cf0d5e36c214e6c044270/trains/automation/job.py#L14
We will have a better example for running your own controllers service in a few weeks, but it should not be hard to write.
Is this what you were looking for?
147 Views
0
Answers
4 years ago
one year ago