How To Setup Cron Jobs

 

Archive

Search

With your hosting account, you should have received an email that gives you a link to access your control panel for your site.

Go to your control panel and if it’s a Cpanel, log in and scroll down the first page that you come to and click on the “Cron Jobs” link. Choose “Advanced Unix Style.” From there you need to set up cron jobs for the 9 cron files located on your server.

*/15 * * * * curl -s http://yourdomain.com/newsletter/cron_statustracker.php > /dev/null
*/5 * * * * curl -s http://yourdomain.com/newsletter/cro…estprocess.php > /dev/null
59 * * * * curl -s http://yourdomain.com/newsletter/cron_periodic.php > /dev/null
*/30 * * * * curl -s http://yourdomain.com/newsletter/cron_optreminder.php > /dev/null
*/1 * * * * curl -s http://yourdomain.com/newsletter/cron_followup.php > /dev/null
30 * * * * curl -s http://yourdomain.com/newsletter/cron_bounce.php > /dev/null
*/15 * * * * curl -s http://yourdomain.com/newsletter/cron_sendengine.php > /dev/null
*/59 * * * * curl -s http://yourdomain.com/newsletter/cron_notconfirmedadmins.php > /dev/null
*/59 * * * * curl -s http://yourdomain.com/newsletter/cron_optinoutpurge.php > /dev/null

The */15 goes in the first of the five boxes for the cron_statustracker. Then in the next four boxes you put an askerisk mark in each box.

It will look like this */15 * * * *

Those will be followed by your path to the cron_statustracker file that looks like this ….

curl -s http://yourdomain.com/newsletter/cron_statustracker.php > /dev/null

You need to set up a new line for each of the nine cron files as shown here…

*/15 * * * * curl -s http://yourdomain.com/newsletter/cron_statustracker.php > /dev/null
*/5 * * * * curl -s http://yourdomain.com/newsletter/cro…estprocess.php > /dev/null
59 * * * * curl -s http://yourdomain.com/newsletter/cron_periodic.php > /dev/null
*/30 * * * * curl -s http://yourdomain.com/newsletter/cron_optreminder.php > /dev/null
*/1 * * * * curl -s http://yourdomain.com/newsletter/cron_followup.php > /dev/null
30 * * * * curl -s http://yourdomain.com/newsletter/cron_bounce.php > /dev/null
*/15 * * * * curl -s http://yourdomain.com/newsletter/cron_sendengine.php > /dev/null
*/59 * * * * curl -s http://yourdomain.com/newsletter/cron_notconfirmedadmins.php > /dev/null
*/59 * * * * curl -s http://yourdomain.com/newsletter/cron_optinoutpurge.php > /dev/null

Remember to change the first box for each cron job as shown above.

 

15th Aug 2007, Posted by Posted by Aykut Er under Filed under Scheduled Tasks (Crons) Comments

Leave a Reply

 

Stay In Touch

In order to get notified about special opportunities, new free templates, white papers, gifts and new releases, please enter your email address:

Newsletter Subscription

You can also subscribe to our RSS feed to learn about now products being developed, what's going on at Octeth and latest news.

Blog RSS feed