Re: endless loop / running as a service?
| From: | pete M | Date: | Tue, 13 Jul 2004 12:03:34 +0000 |
| Subject: | Re: endless loop / running as a service? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35209@lists.php.net to get a copy of this message | ||
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/