Ragnar Posted June 4, 2008 Share Posted June 4, 2008 Has any one ever had there crons suddenly stop working, with out changing anything, where the cron files work just fine if you load them, but cron doesn't do it's job right? What did you do to get them running again? Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted June 4, 2008 Share Posted June 4, 2008 Re: Crons stoped working. Try contacting your hosting company if you have not edited anything it must be them. Quote Link to comment Share on other sites More sharing options...
Ragnar Posted June 4, 2008 Author Share Posted June 4, 2008 Re: Crons stoped working. I'm on a dedicated server, not a shared hosting company!! Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted June 4, 2008 Share Posted June 4, 2008 Re: Crons stoped working. Well, contact the people who manage your dedicated server. Quote Link to comment Share on other sites More sharing options...
-Matt- Posted June 4, 2008 Share Posted June 4, 2008 Re: Crons stoped working. Check your cron tabs and you can run the crons manually. Quote Link to comment Share on other sites More sharing options...
Floydian Posted June 4, 2008 Share Posted June 4, 2008 Re: Crons stoped working. Being on a dedicated server doesn't preclude the possibility of your crons daemon from needing to be restarted by your hosting company. Just such a thing happened when I was admin on Cove of Pirates. Quote Link to comment Share on other sites More sharing options...
Ragnar Posted June 6, 2008 Author Share Posted June 6, 2008 Re: Crons stoped working. er...they work, then stop working, then work... June 3: Stopped at about 8:30 PM. June 4: Noon PST they started working, then not very long after that, stopped. June 4: 4:34:00 pm PST, started up again. June 5, 3:35:00 pm Stoped, then at 4:15:01 PM started up again. From another forum... is your game site mc codes based scrip... if so, sombody is playing with you and using sql injections. Ummm!!! Quote Link to comment Share on other sites More sharing options...
Floydian Posted June 7, 2008 Share Posted June 7, 2008 Re: Crons stoped working. Contact your web host. Quote Link to comment Share on other sites More sharing options...
Ragnar Posted June 7, 2008 Author Share Posted June 7, 2008 Re: Crons stoped working. Contact your web host. Read da thread before posting!!! (For da lazy ones...I'm on my own dedicated server.) It's been two days since they didn't work. I changed the file names of the game crons and permission setting of the files. er, so much for the long code in the URL providing protection! :roll: As back-up, if they find the new URLs and can do the sql injections with the new permission settings, I set the crons up on a domain that only I use, and will delete the ones on the game domain. (Before you could run the crons from the browser. Now only the server can run them.) Some one once said MCcodes security really sucks. And they were right!! Now, if only people knew how to fix the security cracks! Obviously the tiny market/forum codes don't cover it! Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted June 7, 2008 Share Posted June 7, 2008 Re: Crons stoped working. Bloody contact the people who manage your dedicated server!!!! Quote Link to comment Share on other sites More sharing options...
-Matt- Posted June 7, 2008 Share Posted June 7, 2008 Re: Crons stoped working. Contact your web host. Read da thread before posting!!! (For da lazy ones...I'm on my own dedicated server.) It's been two days since they didn't work. I changed the file names of the game crons and permission setting of the files. er, so much for the long code in the URL providing protection! :roll: As back-up, if they find the new URLs and can do the sql injections with the new permission settings, I set the crons up on a domain that only I use, and will delete the ones on the game domain. (Before you could run the crons from the browser. Now only the server can run them.) Some one once said MCcodes security really sucks. And they were right!! Now, if only people knew how to fix the security cracks! Obviously the tiny market/forum codes don't cover it! Which side of the bed did you get out? Quote Link to comment Share on other sites More sharing options...
Floydian Posted June 8, 2008 Share Posted June 8, 2008 Re: Crons stoped working. lol You're the lazy one! Since you wanna throw out a british cuss word, lemme give you an American one back at you. Your fucking idiot because you think you're crons immune to failing because you're on a dedi. Call your fucking web host. Feel free to insert "bloody" for each instance of "fucking". :) Quote Link to comment Share on other sites More sharing options...
Kasabian Posted July 22, 2008 Share Posted July 22, 2008 Re: Crons stoped working. :lol: Feel free to insert "bloody" for each instance of "fucking". :) :-D you to let you know Britain isn't at all like Mary poppins i don't know anyone who says bloody Quote Link to comment Share on other sites More sharing options...
jds137 Posted August 5, 2008 Share Posted August 5, 2008 Re: Crons stoped working. I think it would also be a good idea to rid of crons alltogether, and use time instead. Quote Link to comment Share on other sites More sharing options...
Ragnar Posted August 9, 2008 Author Share Posted August 9, 2008 Re: Crons stoped working. Two words: unix timestamp. Contact MCcodes. They can do that....for a price, depending on how much you want changed, just minute and five minute crons, or every thing. BTW, the original cause of the crons not working had nothing to do with the server. Some one was doing mySQL injections on them. Changing the file permissions and URL of the cron files fixed it. (For example cron_fivemins666911133790210666.php) I changed them to Chmod 744, except the day cron. Even if you load the script from the browser, with the required code in the URL, the script doesn't run. Only the server can run the file. (If you do this with the day cron file, you don't get the daily job pay/stats.) Quote Link to comment Share on other sites More sharing options...
POG1 Posted August 9, 2008 Share Posted August 9, 2008 Re: Crons stoped working. If you have a dedi i would think you would have more knowledge about servers and you will still have a "web host" as such. As for the crons why not have a table in the datbase with timestamps as to when the last cron was done and if its higher than the current 1 run the cron... Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted August 9, 2008 Share Posted August 9, 2008 Re: Crons stoped working. giggle Why on earth do you need crons anyway? There are plenty of tips in the forums here that will get you on your way to removing them all-together. unix-timestamps, cron daemons, permissions, lmao man crontab man 5 crontab Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.