[puppet] Change digest email send time by 1 hour for daylight savings.
(imported from commit 8ac1747f15e10b850f73ce28ea4579bee62ba1a4)
This commit is contained in:
		
					parent
					
						
							
								cc03d58203
							
						
					
				
			
			
				commit
				
					
						ee04f7b3e8
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,7 +50,7 @@ now_struct = time.gmtime(now)
 | 
			
		|||
# While we are sending digest emails, at 11am each weekday, the mail queues can
 | 
			
		||||
# get backed up; don't alert on those.
 | 
			
		||||
if not set(warn_queues) - set(("missedmessage_emails", "digest_emails")) and \
 | 
			
		||||
        now_struct.tm_hour == 16 and now_struct.tm_min < 25:
 | 
			
		||||
        now_struct.tm_hour == 15 and now_struct.tm_min < 25:
 | 
			
		||||
    status = 0
 | 
			
		||||
    print("%s|%s|%s|processing digests, not alerting on elevated mail queues" % (
 | 
			
		||||
            now, status, states[status]))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue