Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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

Posted

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 ;)

Posted

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

Posted

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...

Posted

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...

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...