mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
the sixth field of crontab to support internal links
This commit is contained in:
parent
074affaa54
commit
e42712c71a
5 changed files with 9 additions and 10 deletions
|
@ -14,9 +14,8 @@
|
||||||
|
|
||||||
<guid>/en/tcron/</guid>
|
<guid>/en/tcron/</guid>
|
||||||
<description>crontab (with enhanced semantics) 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.
|
<description>crontab (with enhanced semantics) 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.
|
||||||
The sixth field in crontab file has the format of internal links. Specifically, &quot;c:&quot; to execute the following commands in termux and &quot;!&quot; to execute commands directly.
|
The sixth field in crontab file could be in the format of internal links. Specifically, &quot;c:&quot; to execute the following commands in termux and &quot;!&quot; to execute commands directly.
|
||||||
To make crontab more powerful, we changed the semantics as follows:
|
To make crontab more powerful, we changed the semantics as follows:</description>
|
||||||
The day of a command's execution can be specified by two fields — day of month, and day of week.</description>
|
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Last Modified: 26 October 2023<br>
|
<p>Last Modified: 26 October 2023<br>
|
||||||
crontab support<br>
|
crontab to support internal links<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -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-10-25T22:52:37+08:00</lastmod>
|
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
/>
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/tcron/</loc>
|
<loc>/en/tcron/</loc>
|
||||||
<lastmod>2023-10-25T22:52:37+08:00</lastmod>
|
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
|
||||||
<xhtml:link
|
<xhtml:link
|
||||||
rel="alternate"
|
rel="alternate"
|
||||||
hreflang="zh"
|
hreflang="zh"
|
||||||
|
|
|
@ -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 "crontab" uses single space as field separator. Letters are not suppored currently. So use "1" for "January" and 2 for "Tuesday" etc.</p>
|
<p>For performance, the file "crontab" uses single space as field separator. Letters are not suppored currently. So use "1" for "January" and 2 for "Tuesday" etc.</p>
|
||||||
<p>The sixth field in crontab file has the format of <a href="../links/index.html">internal links</a>. Specifically, "c:" to execute the following commands in termux and "!" 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, "c:" to execute the following commands in termux and "!" to execute commands directly.</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 "rm -rf /sdcard/baidu/*;toybox touch /sdcard/b" 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: 25 October 2023<br>
|
<p>Last Modified: 26 October 2023<br>
|
||||||
crontab support<br>
|
crontab to support internal links<br>
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
</p>
|
</p>
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>en/sitemap.xml</loc>
|
<loc>en/sitemap.xml</loc>
|
||||||
|
|
||||||
<lastmod>2023-10-26T07:34:42+08:00</lastmod>
|
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
|
||||||
|
|
||||||
</sitemap>
|
</sitemap>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue