Cron Jobs

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
Cron needs for php scripts the "run through php" included

Try using php -q without the path.

ex:
php -q /home/corey/public_html/myscript.php

[Search is your friend]

(Is anyone up for making giant list for how to do x things using search for archive?)
 

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
i did still dont work

Did you change corey to your cpanel name and myscript.php to location of script?

Also in Please enter an email address where the cron output will be sent: enter your e-mail to check that it's ran. Also time your cron run to when server clock gets to x time (Server's timezone is GMT
adlog.php

-05:00).
 

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
did you get an email at all? (Like i said above enter your e-mail above to test)
 

deadimp

New Member
Messages
249
Reaction score
0
Points
0
For the url you've posted, the command would be:
php -q /home/ehiagwina/public_html/crons/are/not/4u/braveupdate.php
However, I'd suggeset that you put it in something other than your public_html folder, like /etc, so that people can't trigger the job by just visiting the page.
And like t2t2 said, make sure that your email is entered, and you check it. To test the CRON job out, set it for 5 minutes. Be sure you change it after you've received the first one, though!

Link to the post referenced by t2t2
:biggrin:
 
Last edited:
Top