Metadata-Version: 2.0
Name: biomaj-cron
Version: 3.0.1
Summary: BioMAJ cron management
Home-page: http://biomaj.genouest.org
Author: Olivier Sallou
Author-email: olivier.sallou@irisa.fr
License: UNKNOWN
Download-URL: http://biomaj.genouest.org
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: flask
Requires-Dist: gunicorn
Requires-Dist: gevent
Requires-Dist: python-crontab
Requires-Dist: python-consul
Requires-Dist: pymongo
Requires-Dist: PyYAML
Requires-Dist: requests
Requires-Dist: biomaj-core

# BioMAJ cron service

biomaj-cron manages the cron task to update BioMAJ banks.

It can be used as a library or as a micro-service.

# Install

    pip install biomaj-cron

# Micro service

## Run

    # to reload cron tasks from database (in case of micro service)
    biomaj_load_cron.py

    export BIOMAJ_CONFIG=path_to_config.yml
    gunicorn -b 0.0.0.0:5000 biomaj_cron.biomaj_cron_web:app

## API

    Endpoint /api/cron


# Generate documentation

    pip install sphinx
    pip install sphinxcontrib-httpdomain
    cd doc
    make html


# Release notes

## 3.0.1

Allow proxy endpoint definition for daemon, else use default web.local_endpoint

## 3.0.0

Creation


