[eluser]vrencianz[/eluser]
If you are a linux user:
1) write a cron job with your task: cronjob.php
2) make it executable: <b>chmod a+x cronjob.php</b>
2a) its first line must look like: <b>#!/usr/bin/php</b> or <b>#!/usr/bin/env php</b>
3) edit crontab (crontab -e) and add
Code:
*/5 * * * * /full_path_to_cronjob_php/cronjob.php
This will execute your script every five minutes.