

In the system, we need to run the send emails.php file (for sending newsletters) and the sendautos.php file (for autoresponders) in the "users" folder of the application. Now that we know what the different parts of the command line actually do, we can begin to setup a cron job for a real use. Setting up cron to run the scheduling script You will therefore need to find out this path yourself. 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.
Setting up interspire email marketer full#
Server Path to your script – You will need to specify the full server path directly to your script.You can also add /dev/null after the server path to stop error messages being output as well. Flags for output – In this example I’ve used the –q flag which runs cron in quiet mode this flag stops some unnecessary messages.We’ll use this instead of trying to figure out the path to PHP manually. Path to PHP – UNIX and Linux have a special variable called env php which tells you where PHP is installed on your server.In this case we are setting it up to run a script. This section can be any command that can be run from a command line. 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. In order to get started with cron, you must have a server that is currently running cron. Save your crontab by pressing the following key sequence: escape, colon, w, q, enter How do I set up CRON on my server using SSH? 5 * /usr/bin/php -f /htdocs/www/emailmarketer/admin/cron/cron.php 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!): This will paste the "Cron Command to Run" that you copied into your clipboard earlier. Put a space after the last "*" and then press Shift+Insert on your keyboard. Press ‘i’ to change into insert mode and add the following lines to the end of your crontab:.The default text editor for Linux is Vi, so the following instructions will relate to Vi. This will load your Crontab into a text editor.


Copy the “Cron Command to Run” from Interspire Email Marketer into your clipboard.Log in to the Interspire Email Marketer control panel, go to the settings page.

Setting up interspire email marketer windows#
