Skip to main content

InvenioRDM module for jobs management

Project description

https://github.com/inveniosoftware/invenio-jobs/workflows/CI/badge.svg https://img.shields.io/github/tag/inveniosoftware/invenio-jobs.svg https://img.shields.io/pypi/dm/invenio-jobs.svg https://img.shields.io/github/license/inveniosoftware/invenio-jobs.svg

InvenioRDM module for jobs management

Usage

This module adds a custom scheduler to schedule jobs that exist in the local database.

To use this scheduler, the following command can be ran locally:

$ celery -A invenio_app.celery beat -l ERROR --scheduler invenio_jobs.services.scheduler:RunScheduler -s /var/run/celery-schedule --pidfile /var/run/celerybeat.pid

Jobs can be managed through the administration view in the Invenio instance. By default, this view is disabled and can be enabled by adding the following configuration to the Invenio instance:

JOBS_ADMINISTRATION_ENABLED = True

More Help

Further documentation is available on https://invenio-jobs.readthedocs.io/

Changes

Version 0.3.0 (released 2024-06-20)

  • UI: Added create, edit and schedule options

  • fix: only show stop button when task is running

  • bug: fix display of durations

  • global: support Jinja templating for job args

  • config: rename enabled flag

  • config: disable jobs view by default

Version 0.2.0 (released 2024-06-05)

  • translations: added translations folder

  • scheduler: filter jobs with a schedule

  • service: pass run queue to task

Version 0.1.0 (released 2024-06-04)

  • Initial public release.

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

invenio-jobs-0.3.0.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

invenio_jobs-0.3.0-py2.py3-none-any.whl (49.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-jobs-0.3.0.tar.gz.

File metadata

  • Download URL: invenio-jobs-0.3.0.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.19

File hashes

Hashes for invenio-jobs-0.3.0.tar.gz
Algorithm Hash digest
SHA256 efdc830e2959ae710a16a8c73b3845d3c800fd38a35d006e0ef0e2771c428212
MD5 0bc8d1f0c18bc556456583b8f7fc659e
BLAKE2b-256 a0e032ed6067994ab205af5b4bfcc9d0c268e114920a142051e4382f9a194612

See more details on using hashes here.

Provenance

File details

Details for the file invenio_jobs-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_jobs-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 99c480fce163703c72f1c89c5126a8b96786bd1ba0b059acea36aececaef1eb5
MD5 97c4e580e016a37abb732dc4ef0e2580
BLAKE2b-256 5386fa3578230a866703f9c9d1ab04eedc4e5de58cd05b4ffddd842ca264eae8

See more details on using hashes here.

Provenance

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