From 074affaa542a2c14ca27fac0f3637ec4eb901999 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 26 Oct 2023 07:37:29 +0800 Subject: [PATCH] internal links as sixth field in crontab --- en/_posts/index.xml | 9 ++++----- en/changelog/index.html | 7 ++++--- en/sitemap.xml | 8 ++++---- en/tcron/index.html | 9 +++++++-- en/topposts/index.xml | 3 ++- sitemap.xml | 2 +- 6 files changed, 22 insertions(+), 16 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index bbe0483..8586773 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -13,11 +13,10 @@ Wed, 25 Oct 2023 00:00:00 +0000 /en/tcron/ - crontab 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. -tcron With the option "custom file handling" enabled, "default.rc" runs as shell script at uweb launching time and "default.rc2" runs whenever uweb becomes foreground. -Use tcron (Click to install) with "default.rc" or "default.rc2". -usage: tcron logfile command hours [timezone delay_sec elsecommand] -execute "command" during time interval once. + crontab (with enhanced semantics) 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. +The sixth field in crontab file has the format of internal links. Specifically, "c:" to execute the following commands in termux and "!" to execute commands directly. +To make crontab more powerful, we changed the semantics as follows: +The day of a command's execution can be specified by two fields — day of month, and day of week. diff --git a/en/changelog/index.html b/en/changelog/index.html index 37902de..c7a6d5f 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -51,7 +51,8 @@

pagure

Main features

Change logs

-

1008: Add long screenshot mode
+

1017: crontab supports links as sixth field.
+1008: Add long screenshot mode
1006: Advanced configuration: auto reload, add download path
1004: bookmarklet "Show as html" to support clipboard sites such as "netcut.cn".
998: Bookmarklets to support CSP sites.
@@ -81,8 +82,8 @@ -

Last Modified: 5 June 2023
-add long screenshot support
+

Last Modified: 26 October 2023
+crontab support