cron jobs not working?

Status
Not open for further replies.

hlmaster

New Member
Messages
9
Reaction score
0
Points
0
for some reason my cron jobs wont work, Im running a php time based strategy and it requires a php file to be ran but for some reason its not working, I tried just executing the script turns.php every 1 minutes to see if it would work, but it doesnt, i can do it manually but that is not as fun... I dont know how to work cron jobs so if someone can tell me how to execute a php file with a crontab job I would greatly appreciate it

EDIT: my cronjob is
Code:
/usr/bin/php /home/hlmaster/public_html/prosance/turns.php
its set to run every 3 minutes but it does not...
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Try using
Code:
php /home/hlmaster/public_html/prosance/turns.php
Also, make sure you don't leave the cron running at three minutes as we suspend crons that run at intervals lower than five minutes.
 

hlmaster

New Member
Messages
9
Reaction score
0
Points
0
Will do, thank you for the help...

EDIT: no that doesnt work...
 
Last edited:

hlmaster

New Member
Messages
9
Reaction score
0
Points
0
where ... is at is that where I put the location of my script?

EDIT:

no... heres what I have for the command just to clarify...

Code:
php-cron /home/hlmaster/public_html/promisance/turns.php

if you wish to 'check my work' my hostname is http://hlm.exofire.net
 
Last edited:
Status
Not open for further replies.
Top