jay2233
10-13-2009, 04:04 AM
Dear everybody,
I am trying to set a cron job, the command is as below:
wget http://www.XXX.com/abc.php?action=collect&siteid=1
After the system run it, I found that bluehost can only read "http://www.XXX.com/abc.php?action=collect", but lost &siteid=1 part
I also change the command as below, add "\" before the "&" character:
wget http://www.XXX.com/abc.php?action=collect\&siteid=1
After the modification, bluehost can read the "&" character, but output as below:
http://www.XXX.com/abc.php?action=collect\&siteid=1
Does anybody know how can I solve this problem?
Thanks a lot!
I am trying to set a cron job, the command is as below:
wget http://www.XXX.com/abc.php?action=collect&siteid=1
After the system run it, I found that bluehost can only read "http://www.XXX.com/abc.php?action=collect", but lost &siteid=1 part
I also change the command as below, add "\" before the "&" character:
wget http://www.XXX.com/abc.php?action=collect\&siteid=1
After the modification, bluehost can read the "&" character, but output as below:
http://www.XXX.com/abc.php?action=collect\&siteid=1
Does anybody know how can I solve this problem?
Thanks a lot!