mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Wed Jan 20 09:25:47 PM CST 2021
This commit is contained in:
parent
9ebb666b04
commit
d2f4e1251e
4 changed files with 33 additions and 2 deletions
|
@ -39,11 +39,24 @@ set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin<br>
|
|||
tcron /sdcard/a "cloud189-go sign;toybox touch /sdcard/a" 24<br>
|
||||
#每30天清空baidu目录<br>
|
||||
tcron /sdcard/b "rm -rf /sdcard/baidu/*;toybox touch /sdcard/b" 720</p>
|
||||
<p><a target="_self" href="i:0h/sdcard/uweb/default.rc:https://jamesfengcao.gitee.io/uwebzh/searchurl/txt/default.rc">安装default.rc模板文件(termux)</a></p>
|
||||
<p>可能用到的命令:<br>
|
||||
termux中安装remind,可配置各类提醒功能,十分强大。<br>
|
||||
apt install remind</p>
|
||||
<p>am start -n info.torapp.uweb/.wvActivity -d 'javascript:alert("remind")' #提醒<br>
|
||||
其中-d后面参数可以为任意url包括超微内部"i:" url。</p>
|
||||
<h4 id="cron">cron</h4>
|
||||
<p>Termux下安装cronie:<br>
|
||||
apt install cronie<br>
|
||||
crontab -e</p>
|
||||
<p>crontab例子内容如下:<br>
|
||||
30,31 20-23/1 * * * node Loon/jd_live_redrain.js<br>
|
||||
0,1 19-21/1 * * * node Loon/jd_live_redrain2.js<br>
|
||||
0,1 0,9,11,13,15,17,19,20,21,23 * * * node Loon/jd_live_redrain_nian.js<br>
|
||||
0,1 0,9,11,13,15,17,19,20,21,23 * * * node Loon/jd_live_redrain_official.js<br>
|
||||
30,31 12-23/1 * * * node Loon/jd_live_redrain_half.js</p>
|
||||
<p>Termux下运行:crond<br>
|
||||
cron运行期间保持唤醒锁,保证termux可以稳定运行。</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue