Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (86 votes)

91% thumbs up 8% thumbs down

How would you rate this answer?



Thank you for rating this answer.

How do I set up CRON on my server?

There are a few options for setting up cron jobs.

cPanel/Plesk :
1. When you log into your cpanel/plesk you will see an option for cron jobs or scheduled tasks.

2. Go into this and choose advanced.

3. Set up the cron script to run every 5 minutes. The minute, hour, day of month, month, day of week fields should be filled out as:

*/5 * * * *

4. Please copy the "Cron Command to Run" from Settings -> Cron Settings from the Email Marketer control panel into the command to run box in Plesk/cPanel.

5. Save, and then you should see the "Last run" date updated from Settings -> Cron Settings if you refresh the page after 5 minutes.


Windows :
1. If using a Windows webserver, you instead must use Scheduled Tasks, since Windows does not support cron natively.

2. If you are not running your web server locally, you may have to consult your webhost.


SSH :
1. Login to your web server via telnet or SSH.

2. Log in to the Interspire Email Marketer control panel, go to the settings page.
 
3. Copy the "Cron Command to Run" from Interspire Email Marketer into your clipboard. You can find this on the Settings -> Cron Settings page.

4. Make sure you tick the "Yes, Cron support is enabled" option on the settings page and save your changes.

5. Type 'crontab -e' to edit your Crontab file. This will load your Crontab into a text editor. The default text editor for Linux is Vi, so the following instructions will relate to Vi.

6. Press 'i' to change into insert mode and add the following lines to the end of your crontab:

*/5 * * * *

Put a space after the last "*" and then press Shift+Insert on your keyboard. This will paste the "Cron Command to Run" that you copied into your clipboard earlier.

Your link should now look similiar to the following (your path to PHP and path to cron.php will most likely be different - do not copy this line!):

*/5 * * * * /usr/bin/php -f /htdocs/www/emailmarketer/admin/cron/cron.php

7. Save your crontab by pressing the following key sequence: escape, colon, w, q, enter

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software