ListMailPRO Email Marketing Software Forums
ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: whitec on February 12, 2007, 01:33:17 am
-
In trying to set up dailymail, I've run into an issue I can't get a handle on...
I attempt to run the dailymail script from the command line, using this syntax:
/usr/bin/wget -q -O /dev/null -T 0 http://www.mydomain.com/mail/dailymail.php?pw=mypassword 1> /dev/null 2> /dev/null
Substituting my domain and password in the appropriate spots. When I do this, I get the following command prompt message:
/usr/bin/wget: No match.
If I remove the "?pw=mypassword" from the line, it seems to run fine -- or at least it doesn't return an error message. This makes me think the "no match" message is saying the dailymail password didn't match.
I've double-checked and triple-checked my dailymail password, even changing it in both the configuration screen and in the wget line, but it still gives me the same message.
Anyone run into this before?
-
Greetings,
Your OS is probably interpreting the ? as a wildcard character in a filename. This is more common, I think, on FreeBSD systems.
The fix might be to either escape the question mark, ie:
/usr/bin/wget -q -O /dev/null -T 0 http://www.mydomain.com/mail/dailymail.php\?pw=mypassword 1> /dev/null 2> /dev/null
or surround the URL in quotes, ie:
/usr/bin/wget -q -O /dev/null -T 0 "http://www.mydomain.com/mail/dailymail.php?pw=mypassword" 1> /dev/null 2> /dev/null
Also the -q parameter should not be required since we redirect file output (-O), standard output (1>) and error output (2>) to /dev/null.
Regards
-
Worked like a charm!
Thanks very much. I'll try the scheduler tonight.
Chris