Included php files in a cron job?

From: Date: Fri, 06 Jan 2006 16:29:47 +0000
Subject: Included php files in a cron job?
Groups: php.general 
Request: Send a blank email to php-general+get-228263@lists.php.net to get a copy of this message
I'm in the process of writing a PHP program that is going to be called once a week via a cron job. I don't have a place to really test this hence the reason why I'm asking about it here. My question is can my php program include other php files and still get executed correctly when the cron job runs? For example: #!/path/to/php <?php require_once($file); //do something.... ?> Will the code in $file work correctly when the cron job executes the php file that has something simular to what I have above? Thanks!

« previous php.general (#228263) next »