开发者

How to run tasks on couchdb

开发者 https://www.devze.com 2023-04-01 13:38 出处:网络
I need to schedule tasks to run on a couchdb database. These tasks read one db; aggregate data and write them to another database for archival purposes.

I need to schedule tasks to run on a couchdb database. These tasks read one db; aggregate data and write them to another database for archival purposes. I've seen the status page in futon which seems to be a a place to schedule tasks but I'm not able to find an开发者_C百科y documentation on how to actually accomplish this.


Tasks shown in CouchDB's futon are built-in processes such as compaction or replication. You cannot define and run your own tasks here.

For handling your problem, you must run your task as external application that access CouchDB data over the HTTP API, and execute as cronjob, but not within CouchDB.

0

精彩评论

暂无评论...
验证码 换一张
取 消