Author Topic: Follow up messages wouldn't go out automatically  (Read 1529 times)

abfcresponse

  • Posts: 2
    • View Profile
Follow up messages wouldn't go out automatically
« on: January 04, 2007, 10:58:14 pm »
Need help.

I loaded a few follow up messages to my 3 lists. I set up each follow up to go  out daily. But I found the messages wouldn't send automatically, they went out only after I logged into my dailymail. It appears that I can only do it manually. I checked my cron set up and thought it was set up correctly. I couldn't figure out what could go wrong...Any ideas?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Follow up messages wouldn't go out automatically
« Reply #1 on: January 04, 2007, 11:24:42 pm »
Greetings,

I highly recommend forwarding the cron task to your host and/or asking if the required utility "/usr/bin/wget" is available to you.  You might also try an alternative or your host may suggest a different way to run the scheduled task (Command-line PHP works, too, ie:
Code: [Select]
php /path/to/your/public_html/mail/dailymail.php DAILYPASS
Please let me know if I can be of further assistance!

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

abfcresponse

  • Posts: 2
    • View Profile
Follow up messages wouldn't go out automatically
« Reply #2 on: January 05, 2007, 08:44:02 pm »
I emailed my host and their reply was to ask you for an alternate way.
So I guess the "wget" was not available.
I tried one of the suggested but the problem still exists- can only do manually. I'll try the other later.

I think the code you suggested (php /path/to/your/public_html/mail/dailymail.php DAILYPASS) should work. Because I got an report after it ran a schedule task. I just don't think I set up the code correctly since the message I got was like this:

"Status: 404
X-Powered-By: PHP/4.4.2
Content-type: text/html

No input file specified."

I copied and pasted as is to the command line, only replaced "DAILYPASS" to my own password. Where should I input file? Can you show me in more detail on how to paste the php code?

thanks

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Follow up messages wouldn't go out automatically
« Reply #3 on: February 25, 2007, 07:08:06 pm »
Sorry for the late response - your post got lost in the mix.  Have you since figured this out?

From your last reply I would say the path may not have been correct (404 = not found).  I would also add that you can run the task with "php -q /path/to/script.php" to suppress the "Text/HTML" header PHP tends to output via commandline.

All total the cron task might look like (midnight):

0 0 * * * php -q /path/to/script.php 1>/dev/null 2>&1

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting