mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-05 13:08:44 +08:00
Updated Validity (markdown)
15
Validity.md
15
Validity.md
@@ -40,14 +40,6 @@ acme.sh --issue -d example.com --dns dns_cf --valid-to "+30h"
|
||||
Please be careful about the format, there are only `+*d` (for days) and `+*h` (for hours) supported for now. Any other format will not be accepted.
|
||||
|
||||
|
||||
## If the lifetime is measured in hours, you need to change the default crontab to run `acme.sh` every an hour:
|
||||
|
||||
```
|
||||
0 * * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -98,5 +90,12 @@ acme.sh --issue -d example.com --dns dns_cf --valid-from "+2h" --valid-to
|
||||
|
||||
|
||||
|
||||
### 4. If the lifetime is measured in hours, you need to change the default crontab to run `acme.sh` every an hour:
|
||||
|
||||
```
|
||||
0 * * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user