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
Quick Question About The Cleanup Service: One Argument Is

quick question about the cleanup service: one argument is cleanup_period_in_days , another is run_as_service . If the latter is false, it should only run once, right? or can you please clarify how these arguments interact?

  
  
Posted 3 years ago
Votes Newest

Answers 4


if i enqueue the script to the services queue but run_as_service is false, what happens?

  
  
Posted 3 years ago

Hi ElegantCoyote26 ,

` - cleanup_period_in_days (float): The time period between cleanups. Default: 1.

  • run_as_service (bool): The script will be execute remotely (Default queue: "services"). Default: True. so run_as_service will not run the script locally on your machine but just enqueue the script to the services ` queue (you should have clearml-agent in services mode listening to this queue, and the agent will run this service)
  
  
Posted 3 years ago

If run_as_service is False , the script will start running on your machine, once you will clone and enqueue it, it will run twice (on your machine and by clearml-agent)

i’m guessing the cleanup_period_in_days can only actually run every day or whatever if the script is enqueued to 

services

you can change this value if you like (e.g. 0.5 for every 12 hours)

  
  
Posted 3 years ago

i'm guessing the cleanup_period_in_days can only actually run every day or whatever if the script is enqueued to services

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