Crons Help with text based game

montanna

New Member
Messages
4
Reaction score
0
Points
0
me and my brother have created a text based rpg game twis.x10hosting.com
we have just about everything working but the crons arent
we have entered all the unix data into the cron jobs section of the
Cpannel and when the email is sent to us to inform us the crons have been updated it says there is no such directory we have checked out directorys over and over an there all correct any help would be verry much appreciated

thanks

chris and luke bailey
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
Feel free to change the directory names and app names but please post an example of what you've written, we might be able to help better.
 

TheOutfit

New Member
Messages
24
Reaction score
0
Points
0
montanna,
I can offer some help w/o going on cpanel
But first off:
Don't put your crons in your www folder... because:
(idk what they do, but on my game the up health & brave) if someone finds the cron name they can keep going to that page & running the cron to keep doing w/e the cron does.
Try putting php -q infront... Corey sugjested this for me & it worked.
Ex: php -q /public_html/outfit/cron_day.php put that in the command field.

Hope this helped!!
 
Last edited:

montanna

New Member
Messages
4
Reaction score
0
Points
0
php -q /public_html/crons/enerwillupdate.php

we used that now but i dont understand what the php -q means ??
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
php wont be pathed. Put the full path to php in. (-q is quiet and means dont display stdout to console) (see www.php.net for more info)
 
Top