Uridium Posted August 28, 2008 Share Posted August 28, 2008 we cant always tell if crons are working but heres a simple solution This should only be done before launching your site to the public. ** NOTE ** Before you test any crons bare in mind that doing so will reset the time scale or increase the time scale firstly open a blank webpage in the url type http://www.yourdomain.com/cron_minute.php?XXXXXXXXX The XXXXXXXX denotes the code used from your setup you can find this by looking at your config.php file so just overwrite the x's with the code from that file.. TEST RESULTS Blank Screen when you press enter or the cron means all is working fine..... However if it fails it will tell you on which line to look at when you have fixed the error repeat the process for that failed file until its correct. repeat the process for day 5 minute hour or any other crons you have... The cron number will always be the same so you dont have to keep going back to config to find out what it is just alter the text from cron_minute to cron_hour and vice versa Quote Link to comment Share on other sites More sharing options...
POG1 Posted August 28, 2008 Share Posted August 28, 2008 Re: Quickest way to test your Crons without using cpanel Is that not just common sense? Quote Link to comment Share on other sites More sharing options...
XCU53S Posted August 28, 2008 Share Posted August 28, 2008 Re: Quickest way to test your Crons without using cpanel yh lol but i think this is a crap method also if you want verification all is working after a set of queries add something like: echo 'Cron Success'; And if you see that with nothing else it means cron has been successful Quote Link to comment Share on other sites More sharing options...
Uridium Posted August 29, 2008 Author Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel Is that not just common sense? if youve nothing good to say Feck off out of my post twat Quote Link to comment Share on other sites More sharing options...
Decepti0n Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel You seem ... upset Quote Link to comment Share on other sites More sharing options...
Uridium Posted August 29, 2008 Author Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel You seem ... upset yep sorry about that i just hate fecking Lemmings :) Quote Link to comment Share on other sites More sharing options...
TipZ Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel lol he have right in something but if you didnt knew this maybe you should shut down your game and learn some more ;) Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel add a insert event function then add a event at the bottom if the event doesn't get to you then duh it ain't working only do this on day cron obviously not minute unless ur removing it quickly Quote Link to comment Share on other sites More sharing options...
-Matt- Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel or just run them and see if they work like a normal person. Quote Link to comment Share on other sites More sharing options...
jds137 Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel Listen Chuds, he is offering a way to do something. Maybe there is someone out there who did not know this. So what, when their game fails due to shoddy coding, it opens up more doors for others. Not everyone is a natural coder, its all a learning process. Instead of negative, work together to better stuff... Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel or just run them and see if they work like a normal person. yeah why not just give everyone a day of interest and make them lose a donator day... god remind me not to join your game or donate... Quote Link to comment Share on other sites More sharing options...
jds137 Posted August 29, 2008 Share Posted August 29, 2008 Re: Quickest way to test your Crons without using cpanel Seems to me the post is about testing your crons, before releasing to the public: This should only be done before launching your site to the public. So are you that good of a coder, you can add a cron, and it works every time. Really now, what do you mean, we dont need to test stuff. If thats the case I would be scared to try your game, knowing there is a game owner out there claiming to be so good, he dosent need to test stuff. Stop crying CHUDS, and work together to resolve issues. Quote Link to comment Share on other sites More sharing options...
jonomatt Posted August 30, 2008 Share Posted August 30, 2008 Re: Quickest way to test your Crons without using cpanel ur prob gonna screem at me now lol. i think this is good for the very very beginners like me so im giving the mod +1 i mean after all i didnt see another way to see if it was working or not. Quote Link to comment Share on other sites More sharing options...
Karlos Posted August 30, 2008 Share Posted August 30, 2008 Re: Quickest way to test your Crons without using cpanel lol. good for newbies hu dunno how crons work XD 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.