On Monday 19 January 2004 12:01, rudi wrote: > 01 * * * * root run-parts /usr/bin/php /var/www/html/cron/testcron.php
I believe 'run-parts' takes a directory as argument. Try: 1 * * * * root /usr/bin/php /var/www/html/cron/testcron.php Also if you have: #!/usr/bin/php as the first line in testcron.php (and make it executable) then you can use simply: 1 * * * * /var/www/html/cron/testcron.php -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* However the modem comes set from the factory, it will be the WRONG way to work on your machine -- Murphy's Laws of BBS'ing n3 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php