|
|
|
@ -177,7 +177,7 @@ fi |
|
|
|
|
api.writeShell(shell_cron) |
|
|
|
|
|
|
|
|
|
insert_id = mw.M('crontab').add('name,type,where1,where_hour,where_minute,echo,addtime,status,save,backup_to,stype,sname,sbody,urladdress', ( |
|
|
|
|
"续签Let's Encrypt证书", 'day', '', '0', '10', echo, time.strftime('%Y-%m-%d %X', time.localtime()), '1', '', 'localhost', 'toShell', '', cmd, '')) |
|
|
|
|
"[勿删]续签Let's Encrypt证书", 'day', '', '0', '10', echo, time.strftime('%Y-%m-%d %X', time.localtime()), '1', '', 'localhost', 'toShell', '', cmd, '')) |
|
|
|
|
|
|
|
|
|
if insert_id > 0: |
|
|
|
|
print('创建证书自动续签任务成功!') |
|
|
|
|