<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: plugins/mod_cron.lua history</title>
    <description>plugins/mod_cron.lua revision history</description>
    <item>
    <title>mod_cron: Move changes to Teal source</title>
    <link>http://hg.omfa.de/prosody-hg/log/8b05340a94d3/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Move changes to Teal source<br/>
<br/>
Yes, it's annoying to have generated output in version control, but not<br/>
sure yet if we want to keep Teal. It seems to do breaking syntax changes<br/>
somewhat often.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 09 May 2025 00:53:56 +0200</pubDate>
</item>
<item>
    <title>mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires</title>
    <link>http://hg.omfa.de/prosody-hg/log/1aa7efabeacb/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 15 Feb 2025 10:31:37 +0000</pubDate>
</item>
<item>
    <title>mod_cron: Don't run tasks if loaded inside prosodyctl</title>
    <link>http://hg.omfa.de/prosody-hg/log/899453f11f50/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Don't run tasks if loaded inside prosodyctl<br/>
<br/>
It's common for modules to depend on mod_cron, and this can lead to it loading<br/>
inside prosodyctl, where we don't really want to run any cron tasks.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 07 Jan 2025 18:06:29 +0000</pubDate>
</item>
<item>
    <title>mod_cron: Fix log format to account for float that was integer before</title>
    <link>http://hg.omfa.de/prosody-hg/log/98a6ec4ce140/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Fix log format to account for float that was integer before]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 24 Feb 2024 14:35:17 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Allow configuring various &quot;internal&quot; delay parameters</title>
    <link>http://hg.omfa.de/prosody-hg/log/92301fa7a673/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Allow configuring various &quot;internal&quot; delay parameters<br/>
<br/>
Notably, it is now possible to add a randomized spread factor to the check<br/>
interval.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 20 Feb 2024 17:31:17 +0000</pubDate>
</item>
<item>
    <title>mod_cron: Rebuild with new LuaFormatter settings (tabs!)</title>
    <link>http://hg.omfa.de/prosody-hg/log/a22e3a980178/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Rebuild with new LuaFormatter settings (tabs!)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 30 Nov 2023 18:42:56 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Update Teal source and rebuild</title>
    <link>http://hg.omfa.de/prosody-hg/log/9f1f1e7afdbd/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Update Teal source and rebuild]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 30 Nov 2023 12:41:26 +0000</pubDate>
</item>
<item>
    <title>mod_cron: Rename variable to fix shadowing (#luacheck)</title>
    <link>http://hg.omfa.de/prosody-hg/log/fda192db8f18/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Rename variable to fix shadowing (#luacheck)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 30 Nov 2023 11:42:52 +0000</pubDate>
</item>
<item>
    <title>mod_cron: Add shell command to list registered cron tasks with status</title>
    <link>http://hg.omfa.de/prosody-hg/log/6f9b15757384/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Add shell command to list registered cron tasks with status]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 30 Nov 2023 11:38:59 +0000</pubDate>
</item>
<item>
    <title>mod_cron: Make task frequencies configurable in overly generic manner</title>
    <link>http://hg.omfa.de/prosody-hg/log/ffd3dadf6247/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Make task frequencies configurable in overly generic manner<br/>
<br/>
Requested feature for many modules, notably MAM and file sharing.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 22 Oct 2023 18:58:02 +0200</pubDate>
</item>
<item>
    <title>mod_cron: Remove unused import [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/d50bee584969/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Remove unused import [luacheck]<br/>
<br/>
Use of datetime was removed in 6ac5ad578565]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 15 Oct 2023 16:41:25 +0200</pubDate>
</item>
<item>
    <title>mod_cron: Load last task run time inside task runner to fix async</title>
    <link>http://hg.omfa.de/prosody-hg/log/6ac5ad578565/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Load last task run time inside task runner to fix async<br/>
<br/>
This ensures that all interactions with storage happen inside an async<br/>
thread, allowing async waiting to be performed in storage drivers.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 14 Oct 2023 22:32:33 +0200</pubDate>
</item>
<item>
    <title>mod_cron: Revert bbd3ac65640d</title>
    <link>http://hg.omfa.de/prosody-hg/log/9b720c38fee8/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Revert bbd3ac65640d<br/>
<br/>
Maybe it is better to run daily and weekly tasks 'now' on the theory<br/>
that people set these things up during times that are appropriate for<br/>
maintenance already, so the same time next day or next week might be<br/>
fine for periodic cleanup.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 30 Jul 2023 13:03:40 +0200</pubDate>
</item>
<item>
    <title>plugins: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/74b9e05af71e/plugins/mod_cron.lua</link>
    <description><![CDATA[plugins: Prefix module imports with prosody namespace]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 24 Mar 2023 13:15:28 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Fix recording last task run time #1751</title>
    <link>http://hg.omfa.de/prosody-hg/log/8b42575738f0/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Fix recording last task run time #1751<br/>
<br/>
The type checks, they do nothing!<br/>
<br/>
Observed: Tasks that were supposed to run weekly or daily were running<br/>
each hour.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 05 May 2022 14:10:59 +0200</pubDate>
</item>
<item>
    <title>mod_cron: Allow for a small amount of timer drift</title>
    <link>http://hg.omfa.de/prosody-hg/log/7f25ac9d8f0d/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Allow for a small amount of timer drift<br/>
<br/>
If the timer activates a bit early then a task might be just a few<br/>
seconds short of being allowed to run. This would run such a task rather<br/>
than wait another hour.<br/>
<br/>
The value 0.5% chosen so that a weekly task does not run an entire hour<br/>
earlier than last time.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 15 Jan 2022 09:09:24 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Expose the One Timer via module environment</title>
    <link>http://hg.omfa.de/prosody-hg/log/f6fff0658108/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Expose the One Timer via module environment<br/>
<br/>
This makes it easier to reschedule or otherwise manipulate the timer<br/>
from e.g. the shell, which is handy for debugging.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 04 Dec 2021 17:46:37 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Add a 'weekly' job frequency</title>
    <link>http://hg.omfa.de/prosody-hg/log/cbed7d8d8f35/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Add a 'weekly' job frequency]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 03 Dec 2021 09:05:41 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Initialize timestamp of new tasks to start of period</title>
    <link>http://hg.omfa.de/prosody-hg/log/5a8c6f9a4583/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Initialize timestamp of new tasks to start of period<br/>
<br/>
Makes it more generic so new periods (e.g. weekly etc) can be added<br/>
easily.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 03 Dec 2021 09:01:09 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Follow convention of imports at the top</title>
    <link>http://hg.omfa.de/prosody-hg/log/00c57684cf20/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Follow convention of imports at the top]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 03 Dec 2021 08:57:40 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Initialize daily tasks so they run around midnight UTC</title>
    <link>http://hg.omfa.de/prosody-hg/log/bbd3ac65640d/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Initialize daily tasks so they run around midnight UTC<br/>
<br/>
Eventually the goal is to have daily tasks run while there is little<br/>
activity, but that will vary with the server and the usage patterns of<br/>
its users. This is a start anyway.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 03 Dec 2021 00:11:31 +0100</pubDate>
</item>
<item>
    <title>mod_cron: Initial commit of periodic task runner</title>
    <link>http://hg.omfa.de/prosody-hg/log/3d5135e8a2a7/plugins/mod_cron.lua</link>
    <description><![CDATA[mod_cron: Initial commit of periodic task runner<br/>
<br/>
A number of modules now have periodic tasks that need to run, e.g. for<br/>
cleaning out old messages or files. This has highlighted a need for<br/>
coordinating and optimizing scheduling of such tasks.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 21 Nov 2021 15:50:36 +0100</pubDate>
</item>

  </channel>
</rss>
