Re: endless loop / running as a service?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you have shell access then run a cron job every minute or so

see crontab
http://www.nerc-online.com/support/www/crontab.html


H. J. Wils wrote:
I'd like to have a serverside script (php) who checks 24 hours a day wether theres a file uploaded to my server. But I don't know if that is possible, since, as far as I know, php only recognizes user actions.

But I don't know how to do this, can aynone help me?

Thanks in advance!!

PS: It's not likely to run this script after the file is uploaded, because it would take way too much time to load the next page

_________________________________________________________________
Talk with your online friends with MSN Messenger http://messenger.msn.nl/

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux