View Full Version : chron jobs
MentaL
06-11-2003, 10:24 PM
hi i got the sig stats thing installed and it works fine, but, when i run the cron jobs from my cpanel it is not running the php every so many minutes as it should, can some1 explaint o me how to do it exactly.
http://forum.ragezone.com/signature.php
is my filename
(SCREENY ATTACHED)
filburt1
06-11-2003, 10:37 PM
<a href="http://forum.ragezone.com/signature.php" target="_blank">http://forum.ragezone.com/signature.php</a>
That also means the script itself is dying because it doesn't have permission to do whatever it's supposed to be doing.
MentaL
06-11-2003, 10:40 PM
woops i guess i forgot to chmod it, i put it to 777, it should work now?
filburt1
06-11-2003, 10:42 PM
Try logging out and then viewing the page as a guest, and you'll see what I mean.
Keep in mind I haven't personally used his hack (I'm using my own), but I'm making some assumptions. Have you searched the hack thread to see if anybody else has had your problem?
MentaL
06-11-2003, 10:51 PM
ah i c, does anyone know how to fix this?
MentaL
06-12-2003, 11:28 AM
im getting the error in the mail
/bin/sh: http://www.ragezone.com/forum/signature.php: No such file or directory
/home/ragezone/public_html/forum/signature.php: ?: No such file or directory
/home/ragezone/public_html/forum/signature.php: line 2: syntax error near unexpected token `error_reporting(7)'
/home/ragezone/public_html/forum/signature.php: line 2: `error_reporting(7);'
how i fix? can sum1 tell me the command to use :)
filburt1
06-12-2003, 11:34 AM
You can't cron the script itself because PHP isn't a shell scripting language. Ask your host how you can cron PHP scripts via the php executable.
MentaL
06-12-2003, 12:19 PM
i am my host.. i own a web server O_o.. just never used cron jobs b4
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.