enhance crontab support

This commit is contained in:
James Feng Cao 2023-10-30 23:43:08 +08:00
parent 63eee8ebb5
commit 8e42c8b7ac
9 changed files with 85 additions and 48 deletions

View file

@ -113,7 +113,7 @@ $ am broadcast -n info.torapp.uweb/.AlarmReceiver -e uweb.line [link]</p>
</div>
<p>Last Modified: 28 October 2023<br>
fix en/cmds<br>
fix hugo config.toml<br>
<pre></pre>
</p>
<script>

View file

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<meta name="generator" content="Hugo 0.112.3">
<meta name="generator" content="Hugo 0.119.0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
@ -94,6 +94,18 @@
</li>
<li class="post">
<a href="links/index.html">
<span>Links</span>
</a>
</li>
<li class="post">
<a href="tcron/index.html">
<span>cron</span>
</a>
</li>
<li class="post">
<a href="offlinecache/index.html">
<span>Offline resources</span>
@ -106,12 +118,6 @@
</a>
</li>
<li class="post">
<a href="links/index.html">
<span>Links</span>
</a>
</li>
<li class="post">
<a href="adblock_domain/index.html">
<span>Hosts files</span>

View file

@ -6,7 +6,41 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>Tue, 11 Apr 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Links</title>
<link>/en/links/</link>
<pubDate>Sat, 28 Oct 2023 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
Capture long screenshot (need long screenshot mode)
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
Extend site cookies to 10 years
Clear site cookies
VPN
Switch configuration
Wait for network msg
Certificate info
Backup to box.com
Restore from box.com
upload to box.com
More webdav link menu items
Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.</description>
</item>
<item>
<title>cron</title>
<link>/en/tcron/</link>
<pubDate>Wed, 25 Oct 2023 00:00:00 +0000</pubDate>
<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 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>
<title>Offline resources</title>
<link>/en/offlinecache/</link>
@ -32,29 +66,6 @@ Global redirection Global redirection is enabled with the setting option &amp;qu
When a valid global redirection url is set, the &amp;quot;default.redirect&amp;quot; has no effect, and any url resource is fetched with the new url by appending the original url to the global redirection url.</description>
</item>
<item>
<title>Links</title>
<link>/en/links/</link>
<pubDate>Tue, 21 Mar 2023 00:00:00 +0000</pubDate>
<guid>/en/links/</guid>
<description>Click the following links to install menus popped by long pressing the bookmark button (with star as icon):
Capture long screenshot (need long screenshot mode)
Select All:CTRL-A/undo:CTRL-Z/Redo:CTRL-Y
Extend site cookies to 10 years
Clear site cookies
VPN
Switch configuration
Wait for network msg
Certificate info
Backup to box.com
Restore from box.com
upload to box.com
More webdav link menu items
Web fullscreen
Long pressing the bookmark button in uweb browser will popup menus defined in file &amp;quot;default.</description>
</item>
<item>
<title>Hosts files</title>
<link>/en/adblock_domain/</link>
@ -212,7 +223,8 @@ sourceforge
powerfolder
udrop
pagure
Main features Change logs 1008: Add long screenshot mode
Main features Change logs 1017: crontab supports links as sixth field.
1008: Add long screenshot mode
1006: Advanced configuration: auto reload, add download path
1004: bookmarklet &amp;quot;Show as html&amp;quot; to support clipboard sites such as &amp;quot;netcut.cn&amp;quot;.
998: Bookmarklets to support CSP sites.

View file

@ -312,7 +312,7 @@ Bundle of internal urls, if it is an &quot;i:0&quot; url, then it should have th
</div>
<p>Last Modified: 28 October 2023<br>
finalize latest.html<br>
fix hugo config.toml<br>
<pre>i:56 urls support CTRL_A to CTRL-Z
</pre>
</p>

View file

@ -27,6 +27,19 @@
hreflang="en"
href="/en/links/"
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-10-28T19:18:26+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/tcron/</loc>
<lastmod>2023-10-26T18:58:49+08:00</lastmod>