php w/CRON

From: Date: Wed, 23 Jan 2002 08:33:33 +0000
Subject: php w/CRON
Groups: php.general 
Request: Send a blank email to php-general+get-81643@lists.php.net to get a copy of this message
Can someone please explain why when I run php from the command line like this: [root@lion ]# php /home/mydirectory/myscript.php it will execute just fine, but if I place this within CRON, it will NOT execute! # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) TERM=vt100 */10 * * * * php /home/mydirectory/myscript.php How do you get this to work? I need to be able to run php scripts as ROOT, and have them do ROOT functions (adding users, etc...) Robert

« previous php.general (#81643) next »