From 8393f2652c059b26ea109ab80f167dbc39487d0c Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 23 Nov 2023 11:33:46 +0800 Subject: [PATCH] add crontab example to sign in automatically --- en/_posts/index.xml | 3 +-- en/index.xml | 3 +-- en/sitemap.xml | 6 +++--- en/tcron/index.html | 6 +++--- sitemap.xml | 4 ++-- zh/_posts/index.xml | 4 ++-- zh/index.xml | 4 ++-- zh/sitemap.xml | 6 +++--- zh/tcron/index.html | 3 ++- 9 files changed, 19 insertions(+), 20 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index dc14ee7..98e2c7d 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -35,8 +35,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi Wed, 25 Oct 2023 00:00:00 +0000 /en/tcron/ 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 could be in 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 sixth field in crontab file could be in the format of internal links. Specifically, "c:" to execute the following commands in termux and "!" 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. Offline resources diff --git a/en/index.xml b/en/index.xml index ba14eff..94ae26b 100644 --- a/en/index.xml +++ b/en/index.xml @@ -35,8 +35,7 @@ Long pressing the bookmark button in uweb browser will popup menus defined in fi Wed, 25 Oct 2023 00:00:00 +0000 /en/tcron/ 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 could be in 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 sixth field in crontab file could be in the format of internal links. Specifically, "c:" to execute the following commands in termux and "!" 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. Offline resources diff --git a/en/sitemap.xml b/en/sitemap.xml index 7bc75cc..9f90ebb 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2023-11-15T15:19:25+08:00 + 2023-11-23T11:26:22+08:00 /en/ - 2023-11-21T10:49:26+08:00 + 2023-11-23T11:26:22+08:00 /en/tcron/ - 2023-10-26T18:58:49+08:00 + 2023-11-23T11:26:22+08:00

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 could be in the format of internal links. Specifically, "c:" to execute the following commands in termux and "!" to execute commands directly.

+

The sixth field in crontab file could be in the format of internal links. Specifically, "c:" to execute the following commands in termux and "!" 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.

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. The command will be run when both fields matche the current time.

Note (the original crantab semantics):
@@ -72,8 +72,8 @@ tcron /sdcard/b "rm -rf /sdcard/baidu/*;toybox touch /sdcard/b" 720

Install example default.rc file for termux

-

Last Modified: 26 October 2023
-crontab to support internal links
+

Last Modified: 23 November 2023
+remove deploy.sh