mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 20:17:54 +00:00
11 lines
211 B
Python
11 lines
211 B
Python
#!/usr/bin/env python3
|
|
|
|
import subprocess
|
|
import time
|
|
|
|
if __name__ == '__main__':
|
|
while True:
|
|
# try renew once a day
|
|
subprocess.run(['certbot', 'renew', '--quiet'])
|
|
time.sleep(86400)
|