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
Hi, I Think I'Ve Found A Strange Bug In Scheduler. I Would Like To Run Some Job Every Monday At 15:40 Utc. So I Run This At 15:35:

Hi, I think I've found a strange bug in scheduler. I would like to run some job every Monday at 15:40 UTC. So I run this at 15:35:
scheduler.add_task( name='recurring job', schedule_task_id="xyz", queue='abc', minute=40, hour=15, day=0, weekdays=['monday'], recurring=True )and it does not run, but when I do a hack:
# with this hack works as expected #scheduler._schedule_jobs[0]._last_executed = datetime.utcnow() - relativedelta(days=1)It runs today (Monday) at 15:40. Have you ever had such problem?

  
  
Posted one year ago
Votes Newest

Answers 4


Any chance you can test with the latest RC ? 1.8.4rc2

  
  
Posted one year ago

Ill try...

  
  
Posted one year ago

version:
1.8.1hack line:
#scheduler._schedule_jobs[0]._last_executed = datetime.utcnow() - relativedelta(days=1)

  
  
Posted one year ago

Hi RoundMosquito25
Hmm I remember this is tricky ... What's the clearml version? also where is the line you had to hack ?

  
  
Posted one year ago
684 Views
4 Answers
one year ago
one year ago
Tags