1
0
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:
Christian Hesse
2023-06-13 08:51:01 +02:00
parent 1167347ec0
commit 4420c79e0c

View File

@ -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 ];