Author Topic: Set up cron job but dailymail.php returning muliple errors  (Read 2011 times)

miked1

  • Posts: 3
    • View Profile
Set up cron job but dailymail.php returning muliple errors
« 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

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Set up cron job but dailymail.php returning muliple errors
« Reply #1 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
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting