Jump to content
MakeWebGames

Quickest way to test your Crons without using cpanel


Uridium
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...