[ckan-dev] Notifications that you've been added to a group/org
Pabitra Dash
pkdash_reena at hotmail.com
Tue Sep 24 16:43:02 UTC 2013
How about using Celery to send emails in async way when you want to send?
http://docs.ckan.org/en/ckan-2.1/background-tasks.html
Pabitra
> Date: Tue, 24 Sep 2013 10:46:50 +0200
> From: sean.hammond at okfn.org
> To: ckan-dev at lists.okfn.org
> Subject: Re: [ckan-dev] Notifications that you've been added to a group/org
>
> > I don't think there is currently a recommended way of doing asynchronous
> > actions in CKAN (that's better than cron), so this may be a problem you
> > need to solve.
>
> I just remembered I think the new way to do async tasks in CKAN is by
> writing a ckan-service-provider app:
>
> https://github.com/okfn/ckan-service-provider
>
> The new datapusher uses this, for example. So that might be the way to
> get CKAN to send out emails when you want the emails to be sent
> immediately, not the next time a cron job runs, and you don't want
> sending the emails to be synchronous. Talk to kindly about it.
>
> _______________________________________________
> 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/20130924/b226bb14/attachment-0001.html>
More information about the ckan-dev
mailing list