Author Topic: Cron & Dailymail  (Read 2776 times)

  • Guest
Cron & Dailymail
« on: November 05, 2008, 05:26:29 am »
Hi

I have a problem with running cron. I have read lots of posts regarding the issue in here and have tried every option I could find.

I spoke to my host and they said the ony methods available were "lynx" or "get" commands. I asked about curl and the other ideas mentioned and I got a  "you have to use lynx or get". I found a referance to a lynx command in a thread and tried that but it did not work.

Dailymail works when triggered manually so the issue is clearly with the cron task.

Any ideas?

  • Guest
Cron & Dailymail
« Reply #1 on: November 05, 2008, 06:10:16 am »
This may be helpful

CentOS release 4.7 (Final)
---------- 1 root nobody 206096 Nov 2 2005 /usr/bin/wget
-rwx---r-x 1 root nobody 165939 Nov 9 2007 /usr/bin/curl

---------- 1 root root 1170936 Oct 28 09:44 /usr/bin/lynx

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Cron & Dailymail
« Reply #2 on: November 10, 2008, 07:10:40 am »
Yes, that was exactly the information we needed.  "lynx" and "wget" appear to have "no" permissions, meaning they cannot be used.  In your dailymail task and .cgi scripts, change "/usr/bin/wget -O /dev/null" to "curl -o /dev/null".

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