Use this python script with CRONTAB
or any other scheduled task manager of your choice. I highly recommend you to setup a self hosted ntfy notification service.
大多数人使用的青龙面板是一个非常臃肿的方案, 使用Linux常用的CRONTAB
即可实现相同功能, 同时搭配ntfy
还能推送通知。
You should first create a file under the same path named refreshToken
, which should contain your 'refresh_token'(you can get it by typing in JSON.parse(localStorage.getItem("token")).refresh_token
in console). Then add the script to CRONTAB.