Edit: I just got it working! Seems that cron is a bit odd if you want to automate a script with GET vars. This is what worked for me:
Hi folks, first of all I've been blown away by the quality of the underlying systems that control this site. Great work!
Now, I'm trying to get Cron to periodically load up a PHP page, but I believe I've got the command wrong. Here it is:
The above command doesn't seem to work. Can someone explain what's wrong? I've tried a number of different suggestions already on the forum...
Also, is it possible to cURL directly via cron?
Thanks guys.
Sidenote: I am on the upgraded PHP plan that allows include and fopen
Code:
GET http://username.exofire.net/automated_script.php?foo=bar
Hi folks, first of all I've been blown away by the quality of the underlying systems that control this site. Great work!
Now, I'm trying to get Cron to periodically load up a PHP page, but I believe I've got the command wrong. Here it is:
Code:
php /home/username/public_html/the_page_i_want_to_cron.php?mode=update
The above command doesn't seem to work. Can someone explain what's wrong? I've tried a number of different suggestions already on the forum...
Also, is it possible to cURL directly via cron?
Thanks guys.
Sidenote: I am on the upgraded PHP plan that allows include and fopen
Last edited: