[dundee] Cron problems

Andrew Clayton andrew at digital-domain.net
Wed Oct 24 00:20:15 BST 2007


On Tue, 23 Oct 2007 23:23:43 +0100, chris wyllie wrote:

> The command set up should run every minute(of course in production
> I'm going to make it less frequent).

Ah, yes of course, * means first-last....

> I piped the output of the cron command to a log file and discovered
> that it is running my script. It's just that the script fails because
> it claims to be unable to include required files. It says that they
> can't be found. I don't understand. What directory does cron run
> files in? Any suggestions?

Do you include any files in your php script? php will have a defined
include path in e.g /etc/php.ini If your including files of your own
try giving them an absolute path name.


Andrew



More information about the dundee mailing list