Thread: Cron Jobs
View Single Post
Scoochi2
x10 Sophmore

Scoochi2's Avatar

Join Date: Aug 2008
Posts: 131
Credits: 1,387
Scoochi2 has a spectacular aura about
Location: Southport!

Quote  
10-02-2008, 06:17 PM
Re: Cron Jobs

I have cronjobs working perfectly for me.
First of all, at the top of the script you want to run, make sure the first line (before ANYTHING, even a newline) is the following:
Code:
#!/usr/local/bin/php -q
I admit that I'm not certain you need it, but it doesn't hurt anyway.
Then, for the 'command to run' in the cronjobs section of the cpanel, make it something along the lines of the following:
Code:
php-cron /home/fierce/public_html/cron.php
The above two things are exactly what I did, and it works perfectly
__________________
If anyone can see it, my post was meant for anyone who reads it. Don't take it personally or think I'm being condescending...
Reply With Quote
Scoochi2 is offlineReport Post