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.

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

biomaj_cron-3.0.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

biomaj_cron-3.0.3-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file biomaj_cron-3.0.3.tar.gz.

File metadata

  • Download URL: biomaj_cron-3.0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.14

File hashes

Hashes for biomaj_cron-3.0.3.tar.gz
Algorithm Hash digest
SHA256 1e28435a8d6b1fb85b13d6bb8c2314a2906f7b98de3647825e1ee7c4faa16c17
MD5 6ae48f19b5e67f2264bb592192ea40e2
BLAKE2b-256 bdc747e96dc450932a7792b3eb76bb457858d248b2683afd095dd1dd3632d16d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biomaj_cron-3.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6

File hashes

Hashes for biomaj_cron-3.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d60219b4ba662c666a43c65d051f3a6fec10fc52eb5a2ee0e8605c21ef4c9b8d
MD5 2765db26d89946f8199f8ab29709a260
BLAKE2b-256 f166dc28f8cfc0bbcc621dbfd839bf9291ca86ccd24b34826ccc76fa1994d546

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