mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-22 18:03:35 +02:00
certificate-renew-issued: lock the script
This commit is contained in:
parent
1167347ec0
commit
4420c79e0c
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
||||||
|
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
:global MkDir;
|
:global MkDir;
|
||||||
|
:global ScriptLock;
|
||||||
|
|
||||||
|
$ScriptLock $0;
|
||||||
|
|
||||||
:foreach Cert in=[ /certificate/find where issued expires-after<3w ] do={
|
:foreach Cert in=[ /certificate/find where issued expires-after<3w ] do={
|
||||||
:local CertVal [ /certificate/get $Cert ];
|
:local CertVal [ /certificate/get $Cert ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue