1. By Using your WebHosting.
The procedure of setting up a CRON Job using Webhosting depends on the type of hosting. Due to the
fact that there are many types of web-hostings out there, we cannot detail CRON setup procedure for
each. If you have cPanel on your hosting, you may use the below method, otherwise kindly consult your
Hosting's support for setting up a CRON Job.
In cPanel, you will see a section named "Advanced". In it, will be an item name "CRON Jobs". Click on
it to go to the CRON Job's page.
The file that needs to run regularly as CRON is named cron.php and is present in the root of the script.
Ideally, CRON job should run every minute, but you may, if required, set it to run every 5 minutes or more.
If you do setup the CRON to run every 5 minutes for example, a group post scheduled for say, 11:27pm
will only be published at 11:30pm (that is, on the next CRON run).
Here is what a typical CRON Command looks like;
/usr/local/bin/php "/home/olkumfvp/public_html/wp-content/uploads/scripts/script
v.1.14/cron.php" >> "/home/olkumfvp/public_html/wp-content/uploads/scripts/script
v.1.14/cronlog.txt" 2>&1
/usr/local/bin/php is the path to PHP.
"/home/olkumfvp/public_html/script/cron.php" is the path to the cron.php file on server.
"/home/olkumfvp/public_html/script/cronlog.txt" indicates where to save logs for cron.
System will create this file if it does not exist
2>&1 Keep this as is.