Online Help » Schedule Dailymail

The last thing that needs to be done is for the daily mail script to run every day on your web host. This is done with what's called a cron or crontab entry. Cron is a program that schedules tasks on most web hosts.

If you cannot enter cron commands for your account yourself through your hosting control panel, contact technical support. They will more than likely help you by entering the required command for you into your account cron settings.

The single-line command that needs to be entered into your cron file is as follows:

0 0 * * * /usr/bin/wget -O /dev/null -T 0 http://example.com/mail/dailymail.php?pw=YourDailyMailPass 1> /dev/null 2> /dev/null
  • Replace example.com/mail with your domain and correct path to ListMailPRO.
  • Replace YourDailyPass with your Dailymail Password, set in the Configuration menu.

Here's an explanation of the command.

0 0 * * *
15 3 * * *

Determines the time and frequency of the execution of the command. The first example will execute every day at midnight, server time. The second example will execute every day at 3:15am. More information about cron

/usr/bin/wget

The command to be executed. wget is a command-line tool to grab a web page.

-O /dev/null

Tells wget not to output the webpage to a file as it normally does, but to a special location where the information is discarded.

-T 0

Prevents wget from timing out. More information about wget

1> /dev/null 2> /dev/null

Helps prevent unnecessary linux output and log messages.

Finally, the URL to your dailymail.php file with your password is required for wget to grab each day. Once your task is set, be careful not to change your dailymail password in either cron or ListMailPRO without updating the other.

That's it! ListMailPRO should now be completely operative. You can now start setting up your lists, messages and followups!

Next: Set up Cron with SSH

Related: Windows / no Cron