05
Days
23
Hours
59
Minutes
59
Seconds


How do I set up a Cron task?

Cron Job for the Remote Publishing feature

Depending on your settings, the remote blog publishing option may require a server side cron task. As you know, you can trigger the remote publishing feature in three ways (Components > RSBlog! > Configuration > Remote publishing):

  • Manual: the remote publishing feature will be triggered whenever browsing through the RSBlog! component (frontend or backend). This is particularly useful, when your blog is frequently accessed.
  • Automatic: if you have a rather low traffic rate on your blog, you still need to make sure that your remote article will be published. Thus, a server side cron task will be required.
  • Manual and automatic

Setting up a cron task can depend on your hosting provider. Bellow you will find the most common settings (if these do not work for you, contact the hosting provider for more details):

Log in to your server hosting administrator panel and add a new cron job with one of the following commands:

lynx "http://yoursite.com/index.php?option=com_rsblog&task=mailcheck"

wget -O /dev/null http://yoursite.com/index.php?option=com_rsblog&task=mailcheck

You can set any trigger interval that you need, but bare in mind that the remote publishing feature will only run within the configured RSBlog! Check interval (Components > RSBlog! > Configuration > Remote publishing). For example, if you set the Check interval to 10 minutes, and set the cron to run every 5 minutes, then remote publishing function will only run once every 10 minutes.


Cron Job for sending the subscription emails

Configuring a cron job for sending out subscription emails involves setting up an automated task that will run at specified intervals to send emails to your subscribers. This ensures that your subscribers receive updates without manual intervention. Here is a step-by-step guide to configure a cron job for this purpose:

  • Step 1: Select the Subscription Sending Method
    • Go to Components > RSBlog! > Configuration > Frontend > Subscriptions area > select Cron
  •  
  • Step 2: Once you select the "Cron" method, you need to configure the following options:
    • Sending Quota - This option allows you to set how many subscription emails to send in one batch. The default is set to 100. Adjust this number based on your server’s capacity and email provider’s limits.
    • Check Interval (Minutes) - To avoid triggering spam detection mechanisms by your server, you need to set a time interval between each batch of sent emails. The default interval is 30 minutes. This helps prevent multiple connections that might be detected as a flood.
  •  
  • Step 3: Set Up the Cron Job
    • To automate the email sending process, you need to set up a cron job using the Cron URL: https://mywebsite/index.php?option=com_rsblog&task=cron

Was this article helpful?

Yes No
Sorry about that

You Should Also Read

How to post your blog articles automatically on Facebook

How do I set up a default thumbnail for my Facebook blogposts?