[ckan-dev] Scheduled tasks - celerybeat?
Pabitra Dash
pkdash_reena at hotmail.com
Thu Sep 5 23:15:27 UTC 2013
I also had problem in running celery beat. Now I have just started using apscheduler (http://pythonhosted.org/APScheduler/) and seems to do the job in my initial few runs.
Pabitra
> From: bnm at benscott.co.uk
> Date: Thu, 5 Sep 2013 20:06:56 +0100
> To: ckan-dev at lists.okfn.org
> Subject: [ckan-dev] Scheduled tasks - celerybeat?
>
> Hi -
>
> I have a celery import task that should run at fixed intervals, and it seems celery beat would be good for this. I'm having a bit of trouble getting it to work with CKAN though.
>
> I've added a [app:celery] section in development.ini, and would have liked to add a CELERYBEAT_SCHEDULE section. But it needs to be a dict - and values in development.ini are evaluated as strings, it won't work. And I don't seem to be able to use IConfigurer to modify the config before it gets passed to celeryd.
>
> Has anyone set up celery beat with CKAN? Or is there a better way of doing this? Any pointers would be greatly appreciated.
>
> Thanks very much,
> Ben
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130905/b7e34123/attachment-0001.html>
More information about the ckan-dev
mailing list