wookiee

Well-Known Member
Feb 28, 2005
48
0
156
Las Vegas
I have a reseller account

This is a cronjob that I used on a non-cpanel server...

/usr/bin/wget -b "http://www.invalid.com/cgi-bin/econfirm/econfirmpro.cgi?pssw=7777&action=confirm&[email protected]"

When I put the same thing in cpanel advanced cron, 'commit changes' and return the only thing in the panel is...
/usr/bin/wget -b

Then I tried wget alone as seen in examples in this site

wget -b "http://www.invalid.com/cgi-bin/econfirm/econfirmpro.cgi?pssw=7777&action=confirm&[email protected]"

The only thing in the panel after returning was

wget -b

I've searched for cpanel cron wget variations and can't find anything that helps.

Does wget need a path?
Why does anything after wget -b disappear?

What do I need to do to get the above job to work?

Tony
 

wookiee

Well-Known Member
Feb 28, 2005
48
0
156
Las Vegas
Yep, it was the quotes as well as removing the /usr/bin/ from /usr/bin/wget -b

So the correct way is

wget -b http://www.invalid.com/cgi-bin/econ...on=confirm&[email protected]

After testing though, it still doesn't work.
It seems to stop after the password

From the wget log

wget log...

--13:58:00--

http://www.invalid.com/cgi-bin/econfirm/econfirmpro.cgi?pssw=7777

=> `econfirmpro.cgi?pssw=7777.20'

Resolving www.invalid.com... [my ip]
Connecting to www.invalid.com[my ip]:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: unspecified [text/html]


0K 2.85 MB/s


13:58:00 (2.85 MB/s) - `econfirmpro.cgi?pssw=7777.20' saved [299]
 
Last edited: