David,
what does this timer script do and what directory would i upload it to?
The timer script performs 3 operations. The first one takes 1s, the second 5s, and the third 35s. If this script does not run to completion it is a definite indication that your server will not allow setting the script time limit as necessary.
Setting the time limit to unlimited is done with this line:
ini_set('max_execution_time',0);
There appears to be a strict 30 second limit on PHP script execution on your server/domain. Your host should be able to allow PHP scripts to set the time limit to unlimited.
Unfortunately, this being server-configuration-related there is nothing else I can do from here. On my (Plesk-based) servers setting safe mode to OFF fixes it, but your host could have different settings.
Regards