You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@echo off mode con cols=60 lines=20 title FreenomGetFree :loop echo [%date:~,-3% %time:~,-3%]Start detection. echo [%date:~,-3% %time:~,-3%]Start detection. >> Log.log for /F %%i in ('wsl python3 FNplusEN.py -u USERNAME -p PASSWORD') do ( set commitid=%%i) echo %commitid% echo %commitid% >> Log.log for /F %%i in ('wsl python3 FNplusEN.py -u USERNAME -p PASSWORD') do ( set commitid=%%i) echo %commitid% echo %commitid% >> Log.log echo [%date:~,-3% %time:~,-3%]After the detection is completed, wait for a day to start the next round of detection. echo [%date:~,-3% %time:~,-3%]After the detection is completed, wait for a day to start the next round of detection. >> Log.log timeout /t 86400 >nul goto loop
bat创建快捷方式,添加开机自启即可。
我目前是使用这种方法的,不知道作者及各位有什么高见?
The text was updated successfully, but these errors were encountered:
修改FNplus中的中文字符为英文(由于bat变量有中文和空格时会有奇奇怪怪的问题,所以直接全部翻译FNplus.py中的中文),且另存为FNplusEN.py
Freenom 续期消息版→ FreedomRenewalMessage加载通知服务失败→ FailedToLoadNotificationServiceFreenom 续期→ FreenomRenewal{domain} 续期成功→ {domain}RenewalSucceeded{domain} 续期失败→ {domain}RenewalFailed{domain} 还有 {days} 天续期→ {domain}Have{days}DaysToRenew你没有添加任何账户→ YouHaven'tAddedAnyAccounts账户与密码不匹配→ AccountAndPasswordDoNotMatch添加bat进行定时任务
bat内容如下。
@echo off
mode con cols=60 lines=20
title FreenomGetFree
:loop
echo [%date:~,-3% %time:~,-3%]Start detection.
echo [%date:~,-3% %time:~,-3%]Start detection. >> Log.log
for /F %%i in ('wsl python3 FNplusEN.py -u USERNAME -p PASSWORD') do ( set commitid=%%i)
echo %commitid%
echo %commitid% >> Log.log
for /F %%i in ('wsl python3 FNplusEN.py -u USERNAME -p PASSWORD') do ( set commitid=%%i)
echo %commitid%
echo %commitid% >> Log.log
echo [%date:~,-3% %time:~,-3%]After the detection is completed, wait for a day to start the next round of detection.
echo [%date:~,-3% %time:~,-3%]After the detection is completed, wait for a day to start the next round of detection. >> Log.log
timeout /t 86400 >nul
goto loop
bat创建快捷方式,添加开机自启即可。
我目前是使用这种方法的,不知道作者及各位有什么高见?
The text was updated successfully, but these errors were encountered: