<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Server Related - Documentation</title>
	<atom:link href="https://docs.myeventon.com/documentation/server-related/feed/" rel="self" type="application/rss+xml" />
	<link>https://docs.myeventon.com</link>
	<description>EventON Documentation</description>
	<lastBuildDate>Tue, 01 Apr 2025 16:37:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>Setting Up Server-Level Cron for EventON Reminders Addon</title>
		<link>https://docs.myeventon.com/documentations/setting-up-server-level-cron-for-eventon-reminders-addon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-server-level-cron-for-eventon-reminders-addon</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Tue, 01 Apr 2025 16:37:27 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=29467</guid>

					<description><![CDATA[<p>The EventON Reminders Addon allows you to send automatic reminder emails to event guests (via RSVP or Tickets addons) before and after events. These reminders rely on WordPress’s WP-Cron system, which triggers only when your site is visited. For timely delivery on low-traffic sites, setting up a server-level cron job ensures reminders are sent precisely [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/setting-up-server-level-cron-for-eventon-reminders-addon/">Setting Up Server-Level Cron for EventON Reminders Addon</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">The <strong><a href="https://www.myeventon.com/addons/reminders/" title="">EventON Reminders Addon</a></strong> allows you to send automatic reminder emails to event guests (via RSVP or Tickets addons) before and after events. These reminders rely on WordPress’s WP-Cron system, which triggers only when your site is visited. For timely delivery on low-traffic sites, setting up a server-level cron job ensures reminders are sent precisely as scheduled. Here’s how to configure it.</p>



<h2 class="wp-block-heading">Prerequisites</h2>



<ul class="wp-block-list">
<li><strong>EventON Reminders Addon</strong> installed and activated (compatible with RSVP and Tickets addons).</li>



<li>Access to your server’s control panel (e.g., cPanel) or SSH for cron setup.</li>



<li>WordPress installed and configured with EventON settings.</li>
</ul>



<h2 class="wp-block-heading">Why Use Server-Level Cron?</h2>



<p class="wp-block-paragraph">WP-Cron depends on site visits, which can delay reminders if your site has low traffic. A server-level cron job runs independently, checking and sending reminders at set intervals (e.g., every 5 minutes), ensuring reliability.</p>



<h2 class="wp-block-heading">Step-by-Step Setup</h2>



<h3 class="wp-block-heading">1. Disable WP-Cron (Optional but Recommended)</h3>



<p class="wp-block-paragraph">To rely solely on server cron:</p>



<ul class="wp-block-list">
<li>Open your WordPress site’s wp-config.php file (usually in the root directory).</li>



<li>Add this line before the /* That&#8217;s all, stop editing! */ comment: <br><code><strong>define('DISABLE_WP_CRON', true);</strong></code></li>



<li>Save the file. This prevents WP-Cron from running on page loads, avoiding overlap with your server cron.</li>
</ul>



<h3 class="wp-block-heading">2. Configure the Reminders in EventON</h3>



<ul class="wp-block-list">
<li>Go to <strong>EventON Settings > Reminders</strong> in your WordPress admin panel.</li>



<li>Enable up to 2 pre-event and 2 post-event reminders.</li>



<li>Set the timing (e.g., “60 minutes before event start”) and customize email content.</li>



<li>For each event, edit the event page and enable reminders in the <strong>Reminders meta box</strong>. This schedules a one-time cron job (e.g., evorm_reminder_&lt;event_id>_&lt;type>).</li>
</ul>



<h3 class="wp-block-heading">3. Set Up the Server Cron Job</h3>



<p class="wp-block-paragraph">The cron job triggers wp-cron.php to process all scheduled tasks, including reminders.</p>



<h4 class="wp-block-heading">Using cPanel</h4>



<ol class="wp-block-list">
<li>Log in to cPanel and find <strong>Cron Jobs</strong>.</li>



<li>Under “Add New Cron Job”:
<ul class="wp-block-list">
<li><strong>Common Settings</strong>: Select “Every 5 Minutes” (*/5 * * * *) for frequent checks.</li>



<li><strong>Command</strong>: Enter: <code><strong>curl -s "https://yoursite.com/wp-cron.php?doing_wp_cron" > /dev/null 2>&amp;1</strong></code>
<ul class="wp-block-list">
<li>Replace https://yoursite.com with your actual site URL.</li>



<li>-s silences output, > /dev/null 2>&amp;1 discards logs.</li>
</ul>
</li>
</ul>
</li>



<li>Click <strong>Add New Cron Job</strong> to save.</li>
</ol>



<h4 class="wp-block-heading">Using SSH</h4>



<ol class="wp-block-list">
<li>Access your server via SSH (e.g., ssh user@yourserver.com).</li>



<li>Open the crontab file: <code><strong>crontab -e</strong></code></li>



<li>Add this line: <br><code><strong>*/5 * * * * curl -s "https://yoursite.com/wp-cron.php?doing_wp_cron" > /dev/null 2>&amp;1</strong></code></li>



<li>Save and exit (e.g., :wq in vi).</li>
</ol>



<h4 class="wp-block-heading">Alternative with wget</h4>



<p class="wp-block-paragraph">If curl isn’t available, use:</p>



<pre class="wp-block-code"><code class=""><code>*/5 * * * * wget -q -O /dev/null "https://yoursite.com/wp-cron.php?doing_wp_cron"</code></code></pre>



<h3 class="wp-block-heading">4. Verify the Setup</h3>



<ul class="wp-block-list">
<li>Install a plugin like <strong>WP Crontrol</strong> or <strong>Advanced Cron Manager</strong>.</li>



<li>Check the <strong>Cron Events</strong> tab for events like evorm_reminder_&lt;event_id>_&lt;type> (e.g., evorm_reminder_93_evorm_pre_1-rs).</li>



<li>Ensure the “Next Run” time updates after each cron execution (every 5 minutes).</li>



<li>Test by scheduling a reminder for a near-future event and confirming the email is sent.</li>
</ul>



<h2 class="wp-block-heading">Notes</h2>



<ul class="wp-block-list">
<li><strong>Frequency</strong>: Every 5 minutes (*/5 * * * *) is recommended for timely reminders. Adjust to hourly (0 * * * *) if less precision is needed.</li>



<li><strong>Security</strong>: Ensure wp-cron.php is accessible (file permissions typically 644).</li>



<li><strong>Troubleshooting</strong>: Check server cron logs (e.g., /var/log/cron) or enable WordPress debug logging (define(&#8216;WP_DEBUG_LOG&#8217;, true);) to trace issues.</li>



<li><strong>Dynamic Events</strong>: Each enabled reminder creates a unique cron job tied to the event ID and type (e.g., pre/post), managed by EVORM_Cron->perform_cron().</li>
</ul>



<p class="wp-block-paragraph"></p><p>The post <a href="https://docs.myeventon.com/documentations/setting-up-server-level-cron-for-eventon-reminders-addon/">Setting Up Server-Level Cron for EventON Reminders Addon</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
