I was probably not entirely clear. This is not a "cron job" this is a wholly php device within one of my scripts that is acting in replacement of a cron job. Whenever the script is loaded by a user, it checks the time against the last stored time in the database. If there is a difference between those two times of lets say 30 minutes, then a few queries will run. After those queries have run, the timestamp in the database is updated to reflect the current time. Therefore, the queries will not run again until the difference between the last recorded timestamp and the current time again reaches a certain level. My question is whether there is a chance that two users would trigger the script at the same time, and the queries that are supposed to run only once every 30 minutes could run twice. Here is the relavent code, but it really isn't very helpful: [code] //if negative this defaults to 0 if(crontimecheck($userinfo)==0){ //this stuff needs to only happen once per time period <<Do stuff>> //set database value that crontimecheck() checks to current time. setlastactivity(time()); } [/code]