Skip to content

Commit

Permalink
Update configmaintain.py
Browse files Browse the repository at this point in the history
  • Loading branch information
leitbogioro authored Jul 31, 2019
1 parent f523768 commit be4291e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configmaintain.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def substitute_ad_files_and_upgrade_ad_tactics():
os.system("bash /usr/local/v2ray.fun/maintain.sh")
print ("设置成功!")
else:
os.system("sed -i '$i\\\\30 4 * * 0 root bash /usr/local/v2ray.fun/maintain.sh' /etc/crontab")
os.system("sed -i '$i 30 4 * * 0 root bash /usr/local/v2ray.fun/maintain.sh' /etc/crontab")
os.system("bash /usr/local/v2ray.fun/maintain.sh")
print ("设置成功!")
else:
Expand Down

0 comments on commit be4291e

Please sign in to comment.