ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: miked1 on June 04, 2004, 07:17:54 am

Title: Set up cron job but dailymail.php returning muliple errors
Post by: miked1 on June 04, 2004, 07:17:54 am
HI,

I am really hoping someone can help me get this straightned out!
When I try and run dailymail as a cronjob, this is what get for errors:

/home/xzxgpyvy/public_html/listmail/dailymail.php: line 1: ?php: No such file or directory
/home/xzxgpyvy/public_html/listmail/dailymail.php: line 2: syntax error near unexpected token `('
/home/xzxgpyvy/public_html/listmail/dailymail.php: line 2: `/* ListMail (c) 2002-2003 Dean Wiebe <dean@listmailpro.com>'

Thanks,
Mike
Title: Set up cron job but dailymail.php returning muliple errors
Post by: DW on June 04, 2004, 01:41:54 pm
It seems that you may be attempting to run dailymail via a shell script.  What you need to do is call it with the "wget" program to open it as a web page.

http://www.listmailpro.com/help/10.html