<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Setting up crons</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Setting-up-crons-82722</link>
        <description></description>
        <pubDate>Sun, 08 Nov 2026 04:05:11 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Setting-up-crons-82722" rel="self" type="application/rss+xml" />

                <item>
          <title>Setting up crons</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246795#post2246795</link>
          <description><![CDATA[<p>Hi Mark, </p>
<p>You can find a sample cron plugin here with inline instructions: /cmsb/plugins/cron-example.php  </p>
<p>We sometimes include a "Run Manually" link on the plugin menu for crons we want to be able to run on demand, but another way might be to erase that cron job's entries from the cron log  here: admin.php?menu=_cron_log  That way it will think it hasn't run recently when you click "Run Now".</p>
<p>Regarding removing the trailing closing PHP tag, it's not required and removing it is something everyone has started doing more industry-wide.  <span>The reasoning behind this recommendation is to prevent accidental whitespace or new lines being added after the closing tag, which could lead to unwanted output or errors like "Headers already sent".</span></p>
<p><span>We've been upgrading our code recently to match the current industry standards (which came into being long after CMSB was first released) and that particular standard is part of a PHP standardization specification called PSR-12: <a href="https://www.php-fig.org/psr/psr-12/#22-files" rel="nofollow">https://www.php-fig.org/psr/psr-12/#22-files</a>  </span></p>
<p>Hope that helps!  Let me know any questions.  </p>]]></description>
          <pubDate>Mon, 23 Oct 2023 09:27:28 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246795#post2246795</guid>
        </item>
                <item>
          <title>Setting up crons</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246793#post2246793</link>
          <description><![CDATA[<p>By the way, while debugging I found that the cron.php file in the 3.62 release lacks the closing ?&gt; line at the bottom, which was present in the previous 3.59 release I was on. Seems to work fine without it, but I'm just wondering why it was removed?</p>]]></description>
          <pubDate>Mon, 23 Oct 2023 08:25:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246793#post2246793</guid>
        </item>
                <item>
          <title>Setting up crons</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246791#post2246791</link>
          <description><![CDATA[<p>Are there any guides on how to create scheduled tasks inside CMS Builder itself? The 'Scheduled Tasks' option under the admin area only lists those that have already been set, so I'm clearly overlooking something somewhere. Just asking as I'm trying to debug an annoying issue that has cropped up after upgrading from 3.59 to 3.62 (not ready to report this yet as I have more things left to try first).</p>
<p>Also how can I force a specific task to run outside of its time period, since 'Run Now' will skip the ones I want to test if it's not the right time to run them.</p>]]></description>
          <pubDate>Mon, 23 Oct 2023 02:42:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246791#post2246791</guid>
        </item>
              </channel>
    </rss>
  