<?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[Cron Job Setup Correction]]></title><description><![CDATA[<p dir="auto">I am installing Sendy self hosted newsletter on my server. But I don't know is it correct or not my Cron job setup.</p>
<pre><code># +------------------------ 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

*    *    *    *    * echo "=&gt; Doing job" &amp;&amp; php /app/data/public/scheduled.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1

*    *    *    *    * echo "=&gt; Doing job" &amp;&amp; php /app/data/public/autoresponders.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1

*    *    *    *    * echo "=&gt; Doing job" &amp;&amp; php /app/data/public/import-csv.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1

*    *    *    *    * echo "=&gt; Doing job" &amp;&amp; php /app/data/public/update-segments.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
</code></pre>
<p dir="auto">Could you check it, please? Thank you.</p>
]]></description><link>https://forum.cloudron.io/topic/13201/cron-job-setup-correction</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 11:26:17 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13201.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jan 2025 02:29:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cron Job Setup Correction on Wed, 29 Jan 2025 23:20:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> Thank you, it works now! cc: <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a></p>
]]></description><link>https://forum.cloudron.io/post/100891</link><guid isPermaLink="true">https://forum.cloudron.io/post/100891</guid><dc:creator><![CDATA[IniBudi]]></dc:creator><pubDate>Wed, 29 Jan 2025 23:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to Cron Job Setup Correction on Wed, 29 Jan 2025 14:54:23 GMT]]></title><description><![CDATA[<p dir="auto">The pattern itself is correct. I can copy/paste a single line into a random app and I can see the output logs. Can you do <code>systemctl restart box</code> ? Maybe the cron scheduler is stuck for some reason.</p>
]]></description><link>https://forum.cloudron.io/post/100865</link><guid isPermaLink="true">https://forum.cloudron.io/post/100865</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 29 Jan 2025 14:54:23 GMT</pubDate></item><item><title><![CDATA[Reply to Cron Job Setup Correction on Wed, 29 Jan 2025 14:36:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/msbt" aria-label="Profile: msbt">@<bdi>msbt</bdi></a> I already added the PHP version on my corn job.</p>
<pre><code># +------------------------ 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

*    *    *    *    * echo "=&gt; Doing job at $(date)" &amp;&amp; /usr/bin/php8.3 /app/data/public/scheduled.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1

*    *    *    *    * echo "=&gt; Doing job at $(date)" &amp;&amp; /usr/bin/php8.3 /app/data/public/autoresponders.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1


*    *    *    *    * echo "=&gt; Doing job at $(date)" &amp;&amp; /usr/bin/php8.3 /app/data/public/import-csv.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1


*    *    *    *    * echo "=&gt; Doing job job at $(date)" &amp;&amp; sudo -u www-data /usr/bin/php8.3 /app/data/public/update-segments.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
</code></pre>
<p dir="auto">However, I don't see the "=&gt; Doing job" on my app log. I just saw the external cronjob <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>.</p>
<pre><code class="language-Jan">Jan 29 21:32:04 141.101.95.92 - - [29/Jan/2025:14:32:04 +0000] "GET /update-segments.php HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; cron-job.org; http://cron-job.org/abuse/)"
Jan 29 21:32:04 172.71.126.236 - - [29/Jan/2025:14:32:04 +0000] "GET /autoresponders.php HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; cron-job.org; http://cron-job.org/abuse/)"
Jan 29 21:32:06 172.69.222.223 - - [29/Jan/2025:14:32:06 +0000] "GET /import-csv.php HTTP/1.1" 200 - "-" "Mozilla/4.0 (compatible; cron-job.org; http://cron-job.org/abuse/)"
</code></pre>
<p dir="auto">Is there something that I missed to configure?</p>
]]></description><link>https://forum.cloudron.io/post/100863</link><guid isPermaLink="true">https://forum.cloudron.io/post/100863</guid><dc:creator><![CDATA[IniBudi]]></dc:creator><pubDate>Wed, 29 Jan 2025 14:36:08 GMT</pubDate></item><item><title><![CDATA[Reply to Cron Job Setup Correction on Wed, 29 Jan 2025 08:19:03 GMT]]></title><description><![CDATA[<p dir="auto">You should see the "=&gt; Doing job" which you echo in your script in the app logs at the expected times if things are correct.</p>
]]></description><link>https://forum.cloudron.io/post/100836</link><guid isPermaLink="true">https://forum.cloudron.io/post/100836</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 29 Jan 2025 08:19:03 GMT</pubDate></item><item><title><![CDATA[Reply to Cron Job Setup Correction on Wed, 29 Jan 2025 08:08:54 GMT]]></title><description><![CDATA[<p dir="auto">Maybe you need to use the full path to the php version/executable that you're using, e.g. <code>/usr/bin/php8.1 /app/data/public/scheduled.php schedule:run &gt;&gt; /dev/null 2&gt;&amp;1</code></p>
]]></description><link>https://forum.cloudron.io/post/100835</link><guid isPermaLink="true">https://forum.cloudron.io/post/100835</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Wed, 29 Jan 2025 08:08:54 GMT</pubDate></item></channel></rss>