Hi Ive just converted a script from mysql to sqlite using php 5.1.4.

Running the script like..

php script.php

works fine but I need it run from cron, if I do..

10 14 * * * php -q /var/www/html/script.php

It cant find the db file errors like...

Warning: sqlite_query(): no such table: *** in /var/www/htmlscript.php on
line 36

Is there a way to hard code the path to the db file or is there another way
I can write the cron task.

Thanks
--
View this message in context: 
http://www.nabble.com/Cant+find+sqlite+db+from+cron-t1708143.html#a4637521
Sent from the SQLite forum at Nabble.com.

Reply via email to