How can I setup my Linux server to execute a particular php-script automatically every minute?
Thank you.
Under linux you can use crontab by specifying full path of your script, for example:
*/2 * * * * /usr/bin/php /home/biji/script.php
Or if you put the script on web, you can use wget
*/2 * * * * wget http://yourserver/script.php -O /dev/null
If you need more enterprise solution, you can use job queue using zend server (but it will be costly):
http://www.zend.com/en/products/server/zend-server-job-queue
Use cron.
Reference
crontab