Forums / Developer / Using a module in command line / Comment42884
Ralph Ekekihl
Friday 15 April 2005 1:42:18 am
Hey!
It looks like you are not inlcuding,
include_once( "lib/ezdb/classes/ezdb.php" );
that one is needed for eZDB instance, otherwise it should work.
Then you can have a look at:
lib/ezutils/classes/ezcli.phpkernel/classes/ezscript.php
too see how you integrate the CLI scripts into Exponential. Also have a look at the scripts in the Exponential/bin/php folder.
Good luck!
Contactivity B.V. http://www.contactivity.com