I started to look into a way to get a php script to execute on a timed event. I found that crontab is used for this purpose. I can have quite a bit of control over it to run ever minute, hour, day, etc. It doesn’t give fine control allowing me to run during specific seconds though. My commands in the queue may end up waiting for a minute before they are actually executed. When there is only a few commands in the queue, this is unacceptable. Why wait when you can do it now? I wonder if there is another approach to this to run every 15 seconds.
posted by Dedric Mauriac on Woodbridge using a blogHUD : [blogHUD permalink]