<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Apps cronjob runs multiple times even though it's not supposed to]]></title><description><![CDATA[<p dir="auto">I have a Managed WordPress app which I use for weekly disk usage stats. The cronjob looks like this:</p>
<p dir="auto"><code>0 14 * * SUN export root_space=$(df -h | grep '/$'); export root_usage=$(echo $root_space | awk '{ print int($5) }'); curl -H "Authorization: Bearer xyz"  -H "Title: Weekly disk usage report" -H "Priority: low" -H "Tags: loudspeaker" -X POST --data "Servername disk usage: $root_usage%" https://ntfy.example.com/df-alert &gt;/dev/null 2&gt;&amp;1</code></p>
<p dir="auto">I'm using the same thing on a few more servers and on those it is only sent only once, but this specific server usually runs twice, today even three times in a row. Where do I check if there are duplicates somewhere? Is there a global crontab which collects the apps' jobs?</p>
<p dir="auto">App logs look like this:</p>
<pre><code>Aug 16 14:00:10 =&gt; Run cron job
Aug 16 14:00:11 Success: Executed a total of 0 cron events.
Aug 16 14:00:19 {"id":"xxx","time":1786881619,"expires":1786924819,"event":"message","topic":"df-alert","title":"..."
Aug 16 14:00:20 - - - [16/Aug/2026:12:00:20 +0000] "GET /wp-includes/version.php HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
Aug 16 14:00:30 - - - [16/Aug/2026:12:00:30 +0000] "GET /wp-includes/version.php HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
Aug 16 14:00:37 {"id":"yyy","time":1786881637,"expires":1786924837,"event":"message","topic":"df-alert","title":"..."
Aug 16 14:00:40 - - - [16/Aug/2026:12:00:40 +0000] "GET /wp-includes/version.php HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
Aug 16 14:00:43 {"id":"zzz","time":1786881643,"expires":1786924843,"event":"message","topic":"df-alert","title":"..."
Aug 16 14:00:50 - - - [16/Aug/2026:12:00:50 +0000] "GET /wp-includes/version.php HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
</code></pre>
<p dir="auto">No idea why they run more than once and with that much delay in between. Any suggestions on where to check?</p>
]]></description><link>https://forum.cloudron.io/topic/15832/apps-cronjob-runs-multiple-times-even-though-it-s-not-supposed-to</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 14:15:54 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15832.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Aug 2026 12:29:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Apps cronjob runs multiple times even though it's not supposed to on Sun, 23 Aug 2026 12:08:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> today it was only one, lets see, maybe it was a glitch after all</p>
]]></description><link>https://forum.cloudron.io/post/128442</link><guid isPermaLink="true">https://forum.cloudron.io/post/128442</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Sun, 23 Aug 2026 12:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to Apps cronjob runs multiple times even though it's not supposed to on Mon, 17 Aug 2026 15:34:03 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/msbt" aria-label="Profile: msbt">@<bdi>msbt</bdi></a><br />
No idea yet.</p>
]]></description><link>https://forum.cloudron.io/post/128221</link><guid isPermaLink="true">https://forum.cloudron.io/post/128221</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 17 Aug 2026 15:34:03 GMT</pubDate></item><item><title><![CDATA[Reply to Apps cronjob runs multiple times even though it's not supposed to on Mon, 17 Aug 2026 15:26:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> thanks, looks okay in there. I'll do some more investigating, I just set a different time and it got only triggered once. Any idea why it might be doing it multiple times at 14:00?</p>
]]></description><link>https://forum.cloudron.io/post/128220</link><guid isPermaLink="true">https://forum.cloudron.io/post/128220</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Mon, 17 Aug 2026 15:26:16 GMT</pubDate></item><item><title><![CDATA[Reply to Apps cronjob runs multiple times even though it's not supposed to on Mon, 17 Aug 2026 10:27:42 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/msbt" aria-label="Profile: msbt">@<bdi>msbt</bdi></a><br />
These are stored in the box database.<br />
Example:</p>
<pre><code class="language-bash">mysql -h 127.0.0.1 -uroot -ppassword box -e "
SELECT id, crontab from apps WHERE id='26514c2d-e91a-4dbb-bd5a-f862dcb4a6d2'\G"
mysql: [Warning] Using a password on the command line interface can be insecure.
*************************** 1. row ***************************
     id: 26514c2d-e91a-4dbb-bd5a-f862dcb4a6d2
crontab: # +------------------------ minute (0 - 59)
# |    +------------------- hour (0 - 23)
# |    |    +-------------- day of month (1 - 31)
# |    |    |    +--------- month (1 - 12)
# |    |    |    |    +---- day of week (0 - 6) (Sunday=0 or 7)
# |    |    |    |    |
# *    *    *    *    * command to be executed
*/5    *    *    *    * "/app/data/public/tcl/get_all_members"
</code></pre>
]]></description><link>https://forum.cloudron.io/post/128191</link><guid isPermaLink="true">https://forum.cloudron.io/post/128191</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 17 Aug 2026 10:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to Apps cronjob runs multiple times even though it's not supposed to on Mon, 17 Aug 2026 09:04:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> exactly, app configuration -&gt; cron. is there a place where all those cronjobs are collected to see if there are duplicate entries?</p>
]]></description><link>https://forum.cloudron.io/post/128190</link><guid isPermaLink="true">https://forum.cloudron.io/post/128190</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Mon, 17 Aug 2026 09:04:24 GMT</pubDate></item><item><title><![CDATA[Reply to Apps cronjob runs multiple times even though it's not supposed to on Mon, 17 Aug 2026 07:25:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/msbt" aria-label="Profile: msbt">@<bdi>msbt</bdi></a><br />
Just to make sure, you are using the <a href="https://docs.cloudron.io/apps#cron" target="_blank" rel="noopener noreferrer nofollow ugc">cron</a> settings from the Cloudron dashboard, correct?</p>
]]></description><link>https://forum.cloudron.io/post/128183</link><guid isPermaLink="true">https://forum.cloudron.io/post/128183</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 17 Aug 2026 07:25:20 GMT</pubDate></item></channel></rss>