Are you able to run the stocks_update_scheduler task independent of celerey without issues? That would be where I would start.
It looks like the access to the DB is denied at that level. On Tuesday, September 6, 2016 at 6:54:47 AM UTC-4, [email protected] wrote: > > I've created periodic task. Its is getting called after a required > interval but it is throwing exception as it can't access database file. > > > INFO:celery.beat:Scheduler: Sending due task stocks_update_scheduler > (stocks_update_scheduler) > WARNING:celery.redirected:inside stocks_update_scheduler > WARNING:celery.redirected:unable to open database file > WARNING:celery.redirected:unable to open database file > > > I'm here trying to figure out how to actually give permission to this task > to access database. is there something in settings regarding database > access that I might have missed. > > > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/cb721445-5855-4426-a2e3-18f70369c117%40googlegroups.com.
