ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: sales5 on September 19, 2004, 11:59:43 am

Title: Password issue with Cron?
Post by: sales5 on September 19, 2004, 11:59:43 am
I've not had a successful automated message delivery yet. My successful delivery happened manually, when I logged into my administration page first and then typed the location of my dailymail.php script.
http://oil-tech.com/mailist/dailymail.php?pw=MyDailyMailPass
into the browser.

If I'm not logged in the 'Enter Admin Password' pops up whether I add the password into the address or not.

I've read on the forum that wget and permissions has something to do with this but can't find were I read this.

Help most appreciated,
Sean Aughey
www.oil-tech.com
Title: Password issue with Cron?
Post by: sales5 on September 19, 2004, 12:21:11 pm
Murphy's Law at work here. I've had a successful browser address entry with password work for me. I had the same password for 'admin' and 'dailymail', I changed dailymail to a different password.

I've changed the Cron password entry to match.

Sean
Title: Password issue with Cron?
Post by: sales5 on September 20, 2004, 08:17:33 am
Update: Although I can get dailymail to go by entering into a browser my dailymail address and password the Cron command was still not working. I asked my host for help. Answer is interesting.

'You should not use wget in a cron job. Just use GET, like this'

GET http://oil-tech.com/mailist/dailymail.php?pw=my password 1> /dev/null 2> /dev/null

Result?
It works!

Sean
Title: Password issue with Cron?
Post by: DW on September 21, 2004, 02:01:03 pm
I'm glad to hear this was resolved!  Indeed, some servers do it differently than others. :)