mirror of
				https://github.com/eworm-de/routeros-scripts.git
				synced 2024-05-11 05:55:19 +00:00 
			
		
		
		
	certificate-renew-issued: lock the script
This commit is contained in:
		@@ -14,6 +14,9 @@
 | 
			
		||||
 | 
			
		||||
:global LogPrintExit2;
 | 
			
		||||
:global MkDir;
 | 
			
		||||
:global ScriptLock;
 | 
			
		||||
 | 
			
		||||
$ScriptLock $0;
 | 
			
		||||
 | 
			
		||||
:foreach Cert in=[ /certificate/find where issued expires-after<3w ] do={
 | 
			
		||||
  :local CertVal [ /certificate/get $Cert ];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user