Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2004071

[PHP-DB] Re: endless loop / running as a service? From: pete M (pmorgan <email protected>)
Date: 07/13/04

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