Jump to content

Is my cron job right?


Diggsey

Recommended Posts

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

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

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.

×
×
  • Create New...