faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

28 of 41 people (68%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Can PHP perform a scheduled task triggered without having a PHP page being loaded into a browser?

Mar 20th, 2008 17:17
ha mo, Paul Coldrey, Frank Fox,


Absolutely. PHP scripts can be run from the command line using:
php -f <filename>
If you are running windows then you can schedule a task to do this. In 
Linux/Unix you can use the Cron system.
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com