Forum Moderators: coopster
The script updates ONLY by hitting the page with a browser.
I've tried using
wget -O /dev/null user:pass@http://members.mydomain.com/script.php?update=true
and
php /home/mydir/public_html/members/script.php?update=true
I've even used:
wget -post-data 'update=true' user:pass@http://members.mydomain.com/script.php
The only thing I can get to not error on me is:
wget -O /dev/null -post-data "update=true" user:pass@http://members.mydomain.com/script.php
That simply returns my shell prompt without any errors. It doesn't update the page.
I'm using Cpanel and I don't know if that may be the problem or what...
My absolute basic question is...
How do I call this url via cron/shell and have it update?
[members.mydomain.com...]
I'm pulling my hair out here and my "buddy" won't work on this unless I'm paying him because he says the script is fine! - UH!
Thanks in advance. :)