Jump to content

Recommended Posts

Posted

 

 

 

i got a question about the cron iam not sure how to use it

iam hosting a game and it needs a cron to rest a page with password every 9 minutes.

 

this is the page that needs to be reset/activated every 9 minutes

http://killmonster.heliohost.org/BlackNova...s/scheduler.php

 

i entered this into the cron (blocked my pass)

http://killmonster.heliohost.org/BlackNova...******=password > /dev/null

 

does not seem to do the trick,

 

anyone any ideas ?

thank you in advance!

Posted
i got a question about the cron iam not sure how to use it

iam hosting a game and it needs a cron to rest a page with password every 9 minutes.

 

this is the page that needs to be reset/activated every 9 minutes

http://killmonster.heliohost.org/BlackNova...s/scheduler.php

 

i entered this into the cron (blocked my pass)

http://killmonster.heliohost.org/BlackNova...******=password > /dev/null

 

does not seem to do the trick,

 

anyone any ideas ?

thank you in advance!

 

Did you read this from your cron manager in red?

 

HelioHost allows a maximum of two crons, each run a maximum of once daily. If you require a special exception, please contact us on our support forums. We check system crons regularly, and your account will be suspended if it is found to be in violation of these rules.

 

You'll need an ok from djbob before you can run a cron that often.

 

Edit:

 

Another thing you'll need to do and that's figure out how to run your script manually before you can use cron. That means you'll need to use the GET method instead of POST on your script and then your url would look like this to execute it manually:

 

http://killmonster.heliohost.org/BlackNova...h=your_password

 

To run it from cron would look like this:

 

php -q /home/killmonster/public_html/BlackNovaTraders/scheduler.php?swordfish=your_password > /dev/null

 

 

 

 

Posted

Every nine minutes is far too often. I suggest you either integrate it into a standard PHP page and have it run as close to every nine minutes as you can (the more popular your page is, the more accurate it will be), or you find a way to deal with your password not changing that often.

Posted
Burning, try posting in this forum to lesson the frequency of the cron runs.

 

http://www.blacknova.net/index.php

 

i wanted too reply yesterday but this forum kept timing out over and over again till it got on me nervouse and i gave up

 

thx did not even know them guys had a forum, and all it needs is a password, once u fill in that password the game will reset/add/replace all kinds of stuff, this is critical to the game dont know if it can be done on a much larger intervold then 9 minutes..

not that importent just a test game

 

and no i did not read anything iam still testing this whole website if it comes up to my standard i will read what is ever written thus far it keeps timing me out at a alaraming rate, and cant waist time reading anything , this nove traders game is a test for this website, if it is successful i can install my own game which is far more complicated then nova traders and a hell of a lot bigger and has its own cron files...

 

now if it times me out (again) after writting this post (again) then that will be the last time i post here, cause that is annoying me to the maximum.

and no it is not me iam on a 120mb a sec cable

Posted
and cant waist time reading anything
If you don't read our rules, then your account will be suspended. I suspend around four or five accounts daily for overusing cron.

 

then that will be the last time i post here
Oh no! Whatever will we do without your account on our server?

 

120mb a sec cable
That is just impossible. Even our server isn't on a cable like that.

 

This service is free. Stop whining and follow our rules.

  • 5 months later...
Posted

I did something against the rules by mistake never used cron before and i miss read the waring stating that only 2 cron jobs can be ran ONCE per day and in a tutorial i was reading it said that it would email me an error if there was something wrong with the cron job so i set it to run every minute (mistake) to see if i wrote the command correctly and then i started reading some of the forums here trying to find out what the command line was to get to my public_html page and ran across there warning again and so i'm here apologizing for my mistake.

 

also i was wondering if i could run 1 script ever 30 mintues to an hour all the script will do is access my database to compare the online table to the current date and if people have been inactive for a certain amount of time they are logged off and thats it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...