Unanswered
			
			
 
			
	
		
			
		
		
		
		
	
			
		
		Hello There,
I Would Like To Do Run Cleanup Code In Case The User Aborts One Task From The Dashboard (The Agent Is Not Using The Task In Docker). What Signal Should I Listen For In The Task?
Just to make sure we're on the same page, the cleanup code won't actually listen for a signal, but will sample the tasks periodically and look for the above-mentioned status reason in tasks whose  status  field is  stopped  (when getting tasks from the server in the cleanup code, you can't query on the  status_reason  field, but you can query on the  status  field)
296 Views
				0
Answers
				
					 
	4 years ago
				
					
						 
	2 years ago