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 Have Two Questions About Taskscheduler.

Hello, I have two questions about TaskScheduler.
I follow the https://github.com/allegroai/clearml/blob/master/examples/scheduler/cron_example.py , but I can't close the TaskScheduler I created. The status is still running . Any idea?` # Create the scheduler controller
scheduler = TaskScheduler()

Run a simple logic function, every minute

scheduler.add_task(
name="mock job",
schedule_function=simple_function,
minute=1,
)

scheduler.start_remotely(queue='services')

scheduler.start()

task id = scheduler's task id

preprocess_task = Task.get_task(task_id=task.id)

preprocess_task.close() `
2. I don't know the task id added to the scheduler so how to https://clear.ml/docs/latest/docs/references/sdk/scheduler#remove_task from the scheduler. My thought is when I remove the task from the scheduler, then the task won't continue be executed in the future.

Thanks.

  
  
Posted 2 years ago
Votes Newest

Answers


Hi ScaryBluewhale66

TaskScheduler I created. The status is still

running

. Any idea?

The TaskScheduler needs to actually run in order to trigger the jobs (think cron daemon)
Usually it will be executed on the clearml-agent services queue/mahine.
Make sense ?

  
  
Posted 2 years ago
925 Views
1 Answer
2 years ago
one year ago
Tags
Similar posts