the sixth field of crontab to support internal links

This commit is contained in:
James Feng Cao 2023-10-26 19:01:39 +08:00
parent 074affaa54
commit e42712c71a
5 changed files with 9 additions and 10 deletions

View File

@ -14,9 +14,8 @@
<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.
The sixth field in crontab file has 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.
To make crontab more powerful, we changed the semantics as follows:
The day of a command&#39;s execution can be specified by two fields — day of month, and day of week.</description>
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.
To make crontab more powerful, we changed the semantics as follows:</description>
</item>
<item>

View File

@ -83,7 +83,7 @@
</div>
<p>Last Modified: 26 October 2023<br>
crontab support<br>
crontab to support internal links<br>
<pre></pre>
</p>
<script>

View File

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-10-25T22:52:37+08:00</lastmod>
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -16,7 +16,7 @@
/>
</url><url>
<loc>/en/tcron/</loc>
<lastmod>2023-10-25T22:52:37+08:00</lastmod>
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"

View File

@ -48,7 +48,7 @@
</ul>
<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>The sixth field in crontab file has 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.</p>
<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>
<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>
</div>
<p>Last Modified: 25 October 2023<br>
crontab support<br>
<p>Last Modified: 26 October 2023<br>
crontab to support internal links<br>
<pre></pre>
</p>
<script>

View File

@ -4,7 +4,7 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-10-26T07:34:42+08:00</lastmod>
<lastmod>2023-10-26T18:58:49+08:00</lastmod>
</sitemap>