Diggsey Posted December 7, 2008 Posted December 7, 2008 I'm making an online game in php, which is supposed to simulate the real world of business, with different companies, shares, etc. I want to run a php script each day, using a cron job, to calculate things such as interest and things like that. My site is diggsey.heliohost.org. I followed the instructions on another website for setting up the cron job, but it doesn't seem to be working (nothing happens and I receive no email), could you tell me what is wrong? This is the command: php www/GameOfLife/cron.php Currently it is just supposed to run a single query which inserts the user 'cron' into the database
Unveiled Posted December 7, 2008 Posted December 7, 2008 Seems like something the admin should reply to. Can you post the link of the tutorial here though? Also, have you tried using another email address from a different host?
Diggsey Posted December 7, 2008 Author Posted December 7, 2008 The email address was not a heliohost one, it is my one which I know for sure works. This was the tutorial: http://htmlcenter.com/blog/running-php-scripts-with-cron/
Unveiled Posted December 7, 2008 Posted December 7, 2008 If you did everything correctly, then it's probably a host error. Try setting up something different with your apache if that's possible, or just wait until an admin answers this because this is way out of my league.
Diggsey Posted December 9, 2008 Author Posted December 9, 2008 Ah, it seems to be working now It was because the server is eight hours ahead of GMT!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now