internal links as sixth field in crontab

This commit is contained in:
James Feng Cao 2023-10-26 07:37:29 +08:00
parent 8c6754186c
commit 074affaa54
6 changed files with 22 additions and 16 deletions

View file

@ -13,11 +13,10 @@
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/tcron/</guid>
<description>crontab 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.
tcron With the option &amp;quot;custom file handling&amp;quot; enabled, &amp;quot;default.rc&amp;quot; runs as shell script at uweb launching time and &amp;quot;default.rc2&amp;quot; runs whenever uweb becomes foreground.
Use tcron (Click to install) with &amp;quot;default.rc&amp;quot; or &amp;quot;default.rc2&amp;quot;.
usage: tcron logfile command hours [timezone delay_sec elsecommand]
execute &amp;quot;command&amp;quot; during time interval once.</description>
<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>
</item>
<item>