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

Remove from favorites Remove from favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (8 votes)

25% thumbs up 75% thumbs down

How would you rate this answer?

Thank you for rating this answer.

How do I set up CRON on my server using Plesk?

In order to get started with cron, you must have a server that is currently running cron. Your host will also be able to tell you where you are able to setup crontabs -- whether it's from a web based control panel, or through a telnet terminal window.

Finding the necessary information

This section can be any command that can be run from a command line. In this case we are setting it up to run a script.
  • Path to PHP – UNIX and Linux have a special variable called env php which tells you where PHP is installed on your server. We'll use this instead of trying to figure out the path to PHP manually.
  • Flags for output – In this example I've used the –q flag which runs cron in quiet mode; this flag stops some unnecessary messages. You can also add /dev/null after the server path to stop error messages being output as well.
  • Server Path to your script – You will need to specify the full server path directly to your script. You can find this on the settings page, as shown below.
  • Interspire Email Marketer attempts to write the path to PHP and any flags needed as well as the path to your cron file. If this is not displayed for you there may be something on the sever that simply prohibits Interspire Email Marketer from finding this out for you. You will therefore need to find out this path yourself.

The path to the scheduled sending script from the settings page.

Plesk (Reloaded)

Login to your Plesk control panel and look for the crontab icon. Crontabs are called 'tasks' in Plesk. In order to create a task click on the add new task icon. All current tasks will be shown in the tasks section for the specific user(in the dropdown).You can enter the email for cron output for this user in the email address field.

Setting up a cronjob in Plesk using the tasks section.

Here's the "Add New Task" screen:

The 'Add New Task' screen in Plesk's tasks section.

All fields are clearly marked so you know what time factor you are dealing with. Then just add your command to the command field and the task is complete.

Make sure to remember to enable the cron job before exiting.

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