F S P O S T E R

How to configure a Cron Job on WordPress

 

What is a Cron Job?

A Cron job is a task that is scheduled to run at a specific time automatically. For example, a Cron job can back up a file every six hours automatically.
FS Poster is using the standard WordPress Cron Jobs for background shares and Scheduled posts. The default WordPress Cron Jobs might cause delays in your Schedules or background shares. Because, by default, WordPress does not use a real Cron job. Instead, whenever a page is loaded on a WordPress site by any user, WordPress runs the Cron Job Tasks. If nobody visits your WordPress site, your tasks will not run. As a result, your scheduled tasks will delay.

To resolve these issues, you should disable the default virtual WordPress Cron Job, and configure a real Cron job. To do this, follow the instruction below:
1. Go to the FS Poster > Settings > General settings and scroll down to the Cron Job section;
2. Enable the option to disable the default Cron job;
3. Copy the Cron Job command for your website;

How to set up a Cron Job on WordPress | FS Poster WP Plugin

4. Log in to Cpanel. If your hosting does not has the Cpanel, please contact your hosting provider to get help to create the Cron job;
5. Go to Cron Jobs;
6. Configure a real Cron Job on WordPress by adding the command that we copied earlier from the plugin to the command section. If you want the schedules to share the posts at the exact time you defined on the schedule module, you need to set the Cron Job every minute. For example, if you set it 10 minutes, that means it can delay up to 10 minutes:

How to set up a Cron Job on WordPress | FS Poster WP Plugin

After setting up the Cron Jobs, you can see the result by going to FS Poster > Settings > General settings > Cron Job section. You can see how many minute(s) ago the last Cron Job ran.