add crontab example to sign in automatically

This commit is contained in:
James Feng Cao 2023-11-23 11:33:46 +08:00
parent 12b3563708
commit 8393f2652c
9 changed files with 19 additions and 20 deletions

View file

@ -15,6 +15,7 @@
<guid>/zh/tcron/</guid>
<description>crontab 注意1. 必须使用单一空格作为分割符。
2. 必须同时满足日期及星期的要求功能增强crontab标准只要求满足其中一个要求。
文件&amp;quot;crontab&amp;quot;每行第六部分可为url或内部链接也可为&amp;quot;c:&amp;quot;通知termux执行后面命令; &amp;quot;!&amp;quot;直接执行命令。其余格式一律作为闹钟提醒时的伴随消息。
文件&amp;quot;crontab&amp;quot;自动签到例子:
5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn
7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan
@ -36,8 +37,7 @@ ex:
set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin
#天翼云每天签到一次
tcron /sdcard/a &amp;quot;cloudpan189-go sign;toybox touch /sdcard/a&amp;quot; 24
#每30天清空baidu目录
tcron /sdcard/b &amp;quot;rm -rf /sdcard/baidu/*;toybox touch /sdcard/b&amp;quot; 720</description>
#每30天清空baidu目录</description>
</item>
<item>
<title>重定向网址</title>

View file

@ -15,6 +15,7 @@
<guid>/zh/tcron/</guid>
<description>crontab 注意1. 必须使用单一空格作为分割符。
2. 必须同时满足日期及星期的要求功能增强crontab标准只要求满足其中一个要求。
文件&amp;quot;crontab&amp;quot;每行第六部分可为url或内部链接也可为&amp;quot;c:&amp;quot;通知termux执行后面命令; &amp;quot;!&amp;quot;直接执行命令。其余格式一律作为闹钟提醒时的伴随消息。
文件&amp;quot;crontab&amp;quot;自动签到例子:
5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn
7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan
@ -36,8 +37,7 @@ ex:
set PATH=/system/bin:/data/data/info.torapp.uweb/files/bin
#天翼云每天签到一次
tcron /sdcard/a &amp;quot;cloudpan189-go sign;toybox touch /sdcard/a&amp;quot; 24
#每30天清空baidu目录
tcron /sdcard/b &amp;quot;rm -rf /sdcard/baidu/*;toybox touch /sdcard/b&amp;quot; 720</description>
#每30天清空baidu目录</description>
</item>
<item>
<title>重定向网址</title>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2023-11-23T10:07:09+08:00</lastmod>
<lastmod>2023-11-23T11:32:59+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -16,7 +16,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-11-23T10:07:09+08:00</lastmod>
<lastmod>2023-11-23T11:32:59+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>/zh/tcron/</loc>
<lastmod>2023-11-23T10:07:09+08:00</lastmod>
<lastmod>2023-11-23T11:32:59+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"

View file

@ -49,6 +49,7 @@
<h4 id="crontab">crontab</h4>
<p>注意1. 必须使用单一空格作为分割符。<br>
2. 必须同时满足日期及星期的要求功能增强crontab标准只要求满足其中一个要求。</p>
<p>文件&quot;crontab&quot;每行第六部分可为url或<a href="../links/index.html">内部链接</a>,也可为&quot;c:&quot;通知termux执行后面命令; &quot;!&quot;直接执行命令。其余格式一律作为闹钟提醒时的伴随消息。</p>
<p>文件&quot;crontab&quot;自动签到例子:<br>
5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn<br>
7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan<br>
@ -82,7 +83,7 @@ apt install remind</p>
</div>
<p>Last Modified: 23 November 2023<br>
add crontab example<br>
remove deploy.sh<br>
<pre></pre>
</p>
<script>