|
ListMail
Home
|
Support
Forum
| Member
Area
| Tech
Support
| Resellers
Earn $60!



Installation
Introduction to ListMail
System Requirements
Running Under Windows
Download and Unzip
Edit config.php.txt
Upload Files with FTP
/attach Permissions
Install Database Tables
Setup Config Menu
Email Signup / bounce.cgi
1 Configure Scripts Locally
2 Upload to CGI bin, CHMOD
3 Setup Email Aliases
Sendmail (.procmailrc)
QMail (.qmail)
CPanel (forward)
Ensim (.procmailrc)
Host4Profit
DreamHost
Bounce Mailbox
Test Mail Settings
Schedule Dailymail
Set up Cron with SSH
vi Editor
Pico Editor
Install wget if needed
Windows / no Cron
Schedule Auto-Resume

Configuration
Config Menu
Backup & Restore

List Setup
List Settings
Followup Messages
Custom HTML
Custom Fields
Signup Forms

Managing Users
User Database
User Selection
Importing Users
Exporting Users

Sending Email
Sending Email
Scheduler
Sent Messages
Message Codes
Link Tracking
File Attachments



Installation - Schedule Dailymail




Setting up the dailymail cron task
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 a control panel, contact the technical support staff at your web host. They will more than likely help you by entering the required command for you into your account's 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 ListMail. Replace "YourDailyPass" with your Dailymail Password, set in ListMail's Configuration menu.

Here's an explanation of the command. The 0 0 * * * part determines the time and frequency of the execution of the command. This command will execute every day at midnight. If you wanted to run the command at, say, 3:15 am, you would enter 15 3 * * *

The next part, /usr/bin/wget specifies the command to be executed. wget is a command-line tool to grab a web page. The parameter -O /dev/null tells wget not to output the webpage to a file as it normally does. The parameter -T 0 prevents wget from timing out. The additional parameters 1> /dev/null and 2> /dev/null help prevent unnecessary linux log messages.

And 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 ListMail without updating the other.

That's it! ListMail should now be completely operative. You can now start editing your first list's settings and followups!


Next:Set up Cron with SSH

Also:
Windows / no Cron


© 2006 ListMail Inc. All rights reserved.
WorldOp : FeedFury : Send Email : LM