Jump to content
MakeWebGames

Recommended Posts

Posted

hi i set my game up yesterday and i just cant seem to figure out how to set up my crons... can anyone help me please?

advancedcronjob.png

 

*/5 * * * * curl [url]http://criminals-nightmare.co.cc/cron_fivemins.php?code=*************[/url]

* * * * * curl [url]http://criminals-nightmare.co.cc/cron_minute.php?code=****************[/url]

0 * * * * curl [url]http://criminals-nightmare.co.cc/cron_hour.php?code=******************[/url]

0 0 * * * curl [url]http://criminals-nightmare.co.cc/cron_day.php?code=*******************[/url]

 

thats my cron information i got when i installed my game (hidden code numbers at end), can anyone tell me what do i put in the Command bit please? or whatever i have to do?

Posted

Re: cron job help?

Be patient, if you make comments like that no-one would help you. I personally don't know they work, I just went on standard, its much easier.

For the minute, run it every minute, every day, every week, every month, every year. Then for the 5 minutes, every 5 mins, every day, every week, every money, every year and so on.

Posted

Re: cron job help?

sorry lol, didnt mean to say it in a bad way... but anyways on the standard one it has the box saying "Command To Run" im trying to find out what to put into that box. can someone help me please?

if it helps this is how the Standard one looks like

standardcronjob.png

Posted

Re: cron job help?

and make sure you put the right command with the right cron, and it will only work if your crons are working properly with no errors

Posted

Re: cron job help?

what so my cron files

cron_minute.php

cron_fivemins.php

cron_hour.php

cron_day.php

cant have errors at all on all of them, also what coding i have to put in the command to run, is there a space between the curl and http? or is it together?

Posted

Re: cron job help?

got it THANK YOU VERY MUCH feky, completely forgot to even check if there was errors on my cron files!. my energy just refilled upto 33% so that means they work now.

Posted

Re: cron job help?

Depends, if they stop working at all, move to a host that allows you to make use of more server resources or that just doesn't block crons.

But first, check whether you have set the run times correctly or not.

Posted

Re: cron job help?

ive emailed a admin, and i dont wanna move to i different host because well this host is free, and if i remember correctly, most free hosting sites dont let u use cronjob at all unless you upgrade... for like $3-5 a month lol.

and what do u mean check if the run times are correct? do u mean this?

*/5 * * * * <--- 5 min

* * * * * <--- 1 min

0 * * * * <--- 1 hour

0 0 * * * <-- 1 day

  • 1 month later...

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