Step 3 : Setting up Cron Jobs

 

We need to set-up our Cron Job properly before we can use E.G.G.S.

 

In order to perform automated mail out and email capture please setup cron events for the following files:

  • 1- mailout.php

  • 2- capture.php

 

You need to schedule these jobs on daily basis (preferably) on whatever time you think is suitable (e.g. at 12:00 mid night.)

  • mailout.php will send out messages at specified time automatically.

  • capture.php will check for new subscriptions on all autoresponders under E.G.G.S.™

 

Here is an example of how you can configure your cron job.

 

Make a text file named cron.txt with following entries.

 

00 00 * * * /usr/bin/php /installation_path/mailout.php

00 00 * * * /usr/bin/php /installation_path/capture.php

 

This is what it means :

 

/usr/bin/php may be your php interpreter path (Please contact your hosting service provider to confirm this path)

 

installation_path may be the absolute path where your E.G.G.S.™ installation resides. (e.g. /home/user/eggs )

First five portions show minute, hour, day, month, and year respectively.

For example :

 

00 00 * * * means 12:00am every day.

* denotes irrespective of the value.

 

You may find more details about cron on documentation sites such as http://www.tldp.org

 

To assist you more in setting up your cron jobs, we have captured some screen shots for you. This are the most common CPanel that most web host provides.

 

 

If you are using CPanel X, there are 2 ways to setup your Cron Jobs.

 

 

 

If you are using Standard , this is how to setup your E.G.G.S. cron job

 

 

If you are using the Advanced Unix Style , this is how to setup your E.G.G.S. cron job

 

 

 

Some webhost has CPanel interface for setting cron jobs which is similar to the advance interface of CPanel X as shown below :

 

 

 

 

Please contact your web hosting company or system administrator about how to run a cron job and more understanding about its options.

Or you can avail of our professional installation for a price you can afford! Click here to learn more about it!