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

@ -35,8 +35,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate> <pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/tcron/</guid> <guid>/en/tcron/</guid>
<description>crontab (with enhanced semantics) For performance, the file &amp;quot;crontab&amp;quot; uses single space as field separator. Letters are not suppored currently. So use &amp;quot;1&amp;quot; for &amp;quot;January&amp;quot; and 2 for &amp;quot;Tuesday&amp;quot; etc. <description>crontab (with enhanced semantics) For performance, the file &amp;quot;crontab&amp;quot; uses single space as field separator. Letters are not suppored currently. So use &amp;quot;1&amp;quot; for &amp;quot;January&amp;quot; and 2 for &amp;quot;Tuesday&amp;quot; etc.
The sixth field in crontab file could be in the format of internal links. Specifically, &amp;quot;c:&amp;quot; to execute the following commands in termux and &amp;quot;!&amp;quot; to execute commands directly. The sixth field in crontab file could be in the format of internal links. Specifically, &amp;quot;c:&amp;quot; to execute the following commands in termux and &amp;quot;!&amp;quot; to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.</description>
To make crontab more powerful, we changed the semantics as follows:</description>
</item> </item>
<item> <item>
<title>Offline resources</title> <title>Offline resources</title>

View file

@ -35,8 +35,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate> <pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/tcron/</guid> <guid>/en/tcron/</guid>
<description>crontab (with enhanced semantics) For performance, the file &amp;quot;crontab&amp;quot; uses single space as field separator. Letters are not suppored currently. So use &amp;quot;1&amp;quot; for &amp;quot;January&amp;quot; and 2 for &amp;quot;Tuesday&amp;quot; etc. <description>crontab (with enhanced semantics) For performance, the file &amp;quot;crontab&amp;quot; uses single space as field separator. Letters are not suppored currently. So use &amp;quot;1&amp;quot; for &amp;quot;January&amp;quot; and 2 for &amp;quot;Tuesday&amp;quot; etc.
The sixth field in crontab file could be in the format of internal links. Specifically, &amp;quot;c:&amp;quot; to execute the following commands in termux and &amp;quot;!&amp;quot; to execute commands directly. The sixth field in crontab file could be in the format of internal links. Specifically, &amp;quot;c:&amp;quot; to execute the following commands in termux and &amp;quot;!&amp;quot; to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.</description>
To make crontab more powerful, we changed the semantics as follows:</description>
</item> </item>
<item> <item>
<title>Offline resources</title> <title>Offline resources</title>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>/en/_posts/</loc> <loc>/en/_posts/</loc>
<lastmod>2023-11-15T15:19:25+08:00</lastmod> <lastmod>2023-11-23T11:26:22+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -29,7 +29,7 @@
/> />
</url><url> </url><url>
<loc>/en/</loc> <loc>/en/</loc>
<lastmod>2023-11-21T10:49:26+08:00</lastmod> <lastmod>2023-11-23T11:26:22+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"
@ -42,7 +42,7 @@
/> />
</url><url> </url><url>
<loc>/en/tcron/</loc> <loc>/en/tcron/</loc>
<lastmod>2023-10-26T18:58:49+08:00</lastmod> <lastmod>2023-11-23T11:26:22+08:00</lastmod>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="zh" hreflang="zh"

View file

@ -48,7 +48,7 @@
</ul> </ul>
<h4 id="crontab-with-enhanced-semantics">crontab (with enhanced semantics)</h4> <h4 id="crontab-with-enhanced-semantics">crontab (with enhanced semantics)</h4>
<p>For performance, the file &quot;crontab&quot; uses single space as field separator. Letters are not suppored currently. So use &quot;1&quot; for &quot;January&quot; and 2 for &quot;Tuesday&quot; etc.</p> <p>For performance, the file &quot;crontab&quot; uses single space as field separator. Letters are not suppored currently. So use &quot;1&quot; for &quot;January&quot; and 2 for &quot;Tuesday&quot; etc.</p>
<p>The sixth field in crontab file could be in the format of <a href="../links/index.html">internal links</a>. Specifically, &quot;c:&quot; to execute the following commands in termux and &quot;!&quot; to execute commands directly.</p> <p>The sixth field in crontab file could be in the format of <a href="../links/index.html">internal links</a>. Specifically, &quot;c:&quot; to execute the following commands in termux and &quot;!&quot; to execute commands directly. If the sixth field is not in any of above formats, then the field will appear as the message of alarm clock.</p>
<p>To make crontab more powerful, we changed the semantics as follows:<br> <p>To make crontab more powerful, we changed the semantics as follows:<br>
The day of a command's execution can be specified by two fields — day of month, and day of week. The command will be run when <span style="color:red">both</span> fields matche the current time.</p> The day of a command's execution can be specified by two fields — day of month, and day of week. The command will be run when <span style="color:red">both</span> fields matche the current time.</p>
<p>Note (the original crantab semantics):<br> <p>Note (the original crantab semantics):<br>
@ -72,8 +72,8 @@ tcron /sdcard/b &quot;rm -rf /sdcard/baidu/*;toybox touch /sdcard/b&quot; 720</p
<p><a target="_self" href="i:0hdefault.rc:../searchurl/txt/default.rc">Install example default.rc file for termux</a></p> <p><a target="_self" href="i:0hdefault.rc:../searchurl/txt/default.rc">Install example default.rc file for termux</a></p>
</div> </div>
<p>Last Modified: 26 October 2023<br> <p>Last Modified: 23 November 2023<br>
crontab to support internal links<br> remove deploy.sh<br>
<pre></pre> <pre></pre>
</p> </p>
<script> <script>

View file

@ -4,14 +4,14 @@
<sitemap> <sitemap>
<loc>en/sitemap.xml</loc> <loc>en/sitemap.xml</loc>
<lastmod>2023-11-21T10:49:26+08:00</lastmod> <lastmod>2023-11-23T11:26:22+08:00</lastmod>
</sitemap> </sitemap>
<sitemap> <sitemap>
<loc>zh/sitemap.xml</loc> <loc>zh/sitemap.xml</loc>
<lastmod>2023-11-23T10:07:09+08:00</lastmod> <lastmod>2023-11-23T11:32:59+08:00</lastmod>
</sitemap> </sitemap>

View file

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

View file

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

View file

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

View file

@ -49,6 +49,7 @@
<h4 id="crontab">crontab</h4> <h4 id="crontab">crontab</h4>
<p>注意1. 必须使用单一空格作为分割符。<br> <p>注意1. 必须使用单一空格作为分割符。<br>
2. 必须同时满足日期及星期的要求功能增强crontab标准只要求满足其中一个要求。</p> 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> <p>文件&quot;crontab&quot;自动签到例子:<br>
5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn<br> 5 8,9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignIn<br>
7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan<br> 7 9 * * * i:a1http://m.bookschina.com/ActityDaily/AvSignInTakeQuan<br>
@ -82,7 +83,7 @@ apt install remind</p>
</div> </div>
<p>Last Modified: 23 November 2023<br> <p>Last Modified: 23 November 2023<br>
add crontab example<br> remove deploy.sh<br>
<pre></pre> <pre></pre>
</p> </p>
<script> <script>