Author Topic: Daily Mail / CRON Problem  (Read 1504 times)

jac

  • Posts: 26
    • View Profile
Daily Mail / CRON Problem
« on: February 22, 2007, 04:14:15 pm »
I have been unable to to get the Daily Mail to work corrctly on my server.  After much time spent with tech support they assure me that they have set up CRON to run and that it is running correctly.
Still Daily Mail does not seem to run automatically.  I certainly receive no reports.
If I run it manually it seems to work fine and sends me an email report.

The problem is...I think...that my server provider has disable wget server-wide.  They have set the CRON job to:

Code: [Select]
0 1 * * * /usr/bin/wget-protect -O /dev/null -T 0 http://barntheatre.co.uk/listmail/dailymail.php?pw=mypassword 1> /dev/null 2> /dev/null

This should run Daily Mail at 1am each day and they are adament it works fine an that it is NOT a CRON issue.

Can you throw some light on it for me please hopefully with a solution.

Many thanks for your time with this

John
[/i]

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Daily Mail / CRON Problem
« Reply #1 on: February 22, 2007, 06:18:23 pm »
Hi John,

What I suggest is double-checking that the dailymail password in cron matches the one set in ListMail (copy from cron, paste into Listmail).

/usr/bin/wget-protect -O /dev/null -T 0 http://barntheatre.co.uk/listmail/dailymail.php?pw=mypassword

Note that ListMail has a 23h55m restriction on dailymail execution by default.  If you were to run Dailymail manually once in a day then it would not be able to be run again for 23h55m, which might be PAST the next scheduled cron time.  You can disable this restriction on the ListMail "Dailymail" page but I recommend re-enabling it once everything is working.

Once this restriction is lifted your host could tell you exactly what the problem is by running the cron task command manually as follows, which avoids suppressing output:

/usr/bin/wget-protect -O - -T 0 http://barntheatre.co.uk/listmail/dailymail.php?pw=mypassword

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