How to run tasks on couchdb

I need to schedule tasks in the couchdb database. These tasks are read in one dB; aggregate data and write it to another database for archival purposes. I saw the status page in futon, which seems to be a place to plan tasks, but I can't find documentation on how to do this.

+4
source share
1 answer

The tasks shown in the CouchDB footet are built-in processes, such as compression or replication. You cannot define and run your own tasks here.

To solve your problem, you should run your task as an external application that accesses CouchDB data via the HTTP API, and execute it as a cronjob, but not inside CouchDB.

+7
source

Source: https://habr.com/ru/post/1369675/


All Articles