I want to run a link with cron job but I get error messages every time. first I just inserted the link "www.blabla.com/blabla.php" Now i've added word curl before link donno why I read somewhere but still not working. P.s I'm using hostgator
This would help. In cPanel cron you will have to set in this way: /path/of/php path/to/your/script /usr/local/bin/php /home/username/public_html/yourfile.php
/usr/local/bin/php/home/"username"/public_html/"domaindir"/"runninglink.php" so this will be my patch?
There is a space in between php and /home /usr/local/bin/php (space) /home/username/public_html/yourfile.php
If you run into issues with file permissions, try somthing along these lines. wget "http://www.site.com/filename.php" > /dev/null Code (markup):