Every five minutes is too often. That's all 150 times as often as we let others run cron jobs. We can let you try once every four hours, but if your script starts using too much memory then we'll have to kill it.
Why not attach the scheduled task to a normal page execution? If your website is popular enough, it should run relatively on time. It will slow down page loads a little bit, but it seems like your best option.