Luciano i removed the one * before the applications and tryed than i got
the following error :-
OperationalError: unable to open database file
Traceback (most recent call last):
File "/home/tls-sanjeet/Desktop/test/web2py/gluon/restricted.py", line
204, in restricted
exec ccode in environment
File "applications/welcome/models/db.py", line 14, in <module>
db = DAL('sqlite://storage.sqlite')
File "/home/tls-sanjeet/Desktop/test/web2py/gluon/dal.py", line 4749, in
__init__
raise RuntimeError, "Failure to connect, tried %d times:\n%s" %
(attempts, tb)
RuntimeError: Failure to connect, tried 5 times:
Traceback (most recent call last):
File "/home/tls-sanjeet/Desktop/test/web2py/gluon/dal.py", line 4736, in
__init__
self._adapter = ADAPTERS[self._dbname](*args)
File "/home/tls-sanjeet/Desktop/test/web2py/gluon/dal.py", line 1655, in
__init__
self.pool_connection(connect)
File "/home/tls-sanjeet/Desktop/test/web2py/gluon/dal.py", line 444, in
pool_connection
self.connection = f()
File "/home/tls-sanjeet/Desktop/test/web2py/gluon/dal.py", line 1654, in
connect
return self.driver.Connection(dbpath, **driver_args)
OperationalError: unable to open database file
On Wednesday, February 29, 2012 6:39:22 PM UTC+5:30, lucmult wrote:
>
>
>
> On Wed, Feb 29, 2012 at 11:10 PM, Sanjeet Kumar <[email protected]>wrote:
>
>> I have the following code in my crontab :-
>>
>> 0-59/1 * * * * root **applications/welcome/cron/test.py
>>
>
> put just 1 * before applications/
>
> [],
> --
> Luciano Pacheco
> blog.lucmult.com.br
>