Skip to main content

BioMAJ cron management

Project description

# 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.

[![PyPI version](https://badge.fury.io/py/biomaj-cron.svg)](https://badge.fury.io/py/biomaj-cron)

# 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.3

Fix traefik prefix

## 3.0.2

Add tags for traefik support

## 3.0.1

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

## 3.0.0

Creation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

biomaj_cron-3.0.4-py2.py3-none-any.whl (17.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj_cron-3.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for biomaj_cron-3.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7141a6ef86ff1ff2e950bb72e9a95529bfa7e784067f205916c574159328d7c5
MD5 3a7b604497d96e8a7b1f2bc7da1a31fc
BLAKE2b-256 6f478b96653e548d55bfee89489ad6e27ef9fc5987841f18bb8866decdbfc168

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page