Cron Jobs

Status
Not open for further replies.

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Try changing them to use php-cron
For example,
php-cron /home/ehiagwin/public_html/...
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Don't use the web path. Use the server path.
php-cron /home/ehiagwin/public_html/crons/*/*/*/stockcron.php
 

ehiagwina

New Member
Messages
63
Reaction score
0
Points
0
Didnt work
Edit:
Ive run the crons manually and there was no errors

Anything you guys can do fot me ?

It seems like my cron jobs have been turned off or something
 
Last edited:

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
At the moment all your crons read:
php-cron http://www.seriouswars.pcriot.com ......

You cant run php scripts like that. As Christopher said it would be

php-cron /home/username/path/file.php

I can assure you the cron logs show the commands trying to run, mails should be sent to your hotmail address with any errors.
 

ehiagwina

New Member
Messages
63
Reaction score
0
Points
0
ive changed the crons to what you said already and it did not work so I changed it back what I used which did work
Edit:
Something was changed in the last 12 hours

My crons have been running for 9 months now -_-
Edit:
I tested your way again and still didnt work
 
Last edited:

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
How can you tell if its "working"? I ran one of your crons and nothing obvious happens. ( I would have thought curl would work, although you appear to have missed changing one of them)
 

ehiagwina

New Member
Messages
63
Reaction score
0
Points
0
I am running both crons at the same time to see if anyone sudenlly start working again

As I said there is no errors in my files can you check the configuration on my account to see if cron jobs are being allowed to run

As no apparent command is working there is obviously something wrong at your end

I know is not working because what is meant to be happeneing in the game im running is not happeneing
 

ehiagwina

New Member
Messages
63
Reaction score
0
Points
0
None of my crons are doing there jobs -_-

I have like 8 crons running two run every 5 minutes such things as increase energy lower hospital time etc

People who were meant to be in hospital for 40 mins have been stuck in there for the past 15 hours

My crons are not running and is not because of any errors in the files either

We should be working together not arguing whether the crons are running are not becuase as I have told you already they are not running
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
Here are the current logs: Your crons are running
[proof removed by request]
 
Last edited:

ehiagwina

New Member
Messages
63
Reaction score
0
Points
0
can you remove the link please :p

When it clicked some people can run the crons and make the issue wrong
Edit:
Also can you see any obvious reason why the cron is not activating then

It seems it is running
 
Last edited:

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
At the same time, they are running at the specified intervals in your cron list. if they are not achieving the desired results, thats a different matter. Is it possible that they may have issues if the scripts have not run for a duration eg, some people are "overdue"?
 

ehiagwina

New Member
Messages
63
Reaction score
0
Points
0
Hum im not actually sure why all i know is the crons stopped around 16 hours ago

There have been no errors of any kind if there was a reason for it not to run it wouldnt run manually either

So im confused
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
I can tell you that the crons did stop for a while (server wide it wasnt personal), but have been running for around a couple of hours now (in fact they restarted before I posted initially in this thread)

I know your jobs are running, ive seen them start up - hence the logs, but I do fear they may not be doing all you need them to, however, thats down to the script and thats beyond our general control.

I dont see why it wouldnt run manually, if you went to one of the URLS you have on cron the page would have run, in some shape or form, the effect may not be what you expected but thats down to the codeing of the page.

Imagine you had some airplanes waiting to take off
Plane1 4:13
Plane2 4:16
Plane3 4:20

at 4:20 your script runs and says "planes due at 4:20 should take off.." that only sends off plane3.. planes 1 and 2 get missed..

If they arent scripts you wrote, perhaps its a question for the script writers, what would happen if the cron job didnt run for a few hours
 
Status
Not open for further replies.
Top