Jump to content
MakeWebGames

Recommended Posts

Posted

Hi

Im new to this site, had a look around added a few mods to my game and lvoed it so far.

Just wondering if I can grab some help on my crons if possible?

I've been concentrating on the modding side to get a backbone to my game and now need to get the crons working, but unfortunatly, it seems my crons dont work and im not totally sure why.

Im using cpanel currently whilst I work on the bones of the game.

My crons are

5 **** - root

 

/home/servername/public_html/foldername/cron_fivemi

 

ns.php?code=86bf0bc45a0140e1611a218eb6299daf

But to my email, it returns with /bin/sh: root: command not found

But If I use

5 ****

root /home/servername/public_html/foldername/cron_fiv

 

emins.php?code=86bf0bc45a0140e1611a218eb6299daf

it doesn't return with anything at all. But the cron doesn't do anything within 5 mins

>> Also with my cron_minute.php which is the same, it also returns when i enter

/home/servername/public_html/foldername/cron_minute.php?code=86bf0bc45a0140e1611a218eb6299daf

Is the cron not set correctly (html address etc...) or is a problem within the cron_ php files? And if so, if I post them, can someone look them over for me?

Many thanks in advance

Shiv

Posted

Re: Cron Errors

Hi, thanks for the quick reply.

So are you saying that my path is correct?

When you write 0/5. Is that what I should put in? Wasn't sure if it accepted slashes.

Sorry for the n00bish questions, but Im new to crons and want to get them up working as soon as I can lol.

Shiv

Posted

Re: Cron Errors

 

Go to cron Jobs and click advanced. Then where it says enter the adress of the cron, type

Curl (then the link goes here, without the )'s of course.)

curl is not needed ;)

And yes place the 0/5 with the slash :)

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