Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello, I'D Like To Ask Questions About Taskscheduler

Hello, I'd like to ask questions about TaskScheduler
How to use the previous created TaskScheduler? Should I use the same TaskScheduler to create cron like task? After starting a TaskScheduler, how to stop the task scheduler? Is there any log or error notification if the scheduled task gets error? I'd have several scheduled tasks to run and would like to check if there is any error.

  
  
Posted 2 years ago
Votes Newest

Answers 3


ScaryBluewhale66 ,
If you want to re-run - you need the agent It's still a Task object so you can just use Task.close() I'm not sure if something exists at the moment but you could write it faily easily in code

  
  
Posted 2 years ago

CostlyOstrich36 Thanks.
I'm not sure how I can do it if I don't use the ClearML agent. In https://clear.ml/docs/latest/docs/references/sdk/scheduler/#class-automationtaskscheduler , I can't find how to stop it programmatically. Could I stop it by the UI if I don't use the ClearML agent. I see. In my understanding, the log would show all the message, but not so clear to me. Especially, if I have tens or hundreds of scheduled tasks. It's not convenient for me to check one by one.

  
  
Posted 2 years ago

ScaryBluewhale66 , Hi 🙂
Regarding your questions
I think you can just reset the task and enqueue it You can stop it either in the UI or programmatically I'm guessing the scheduler would show errors in it's log if for some reason it failed at something for some reason

  
  
Posted 2 years ago
1K Views
3 Answers
2 years ago
one year ago
Tags