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 v3.1.1 (released 2025-04-30)

  • logging: fix celery signal

Version v3.1.0 (released 2025-04-28)

  • Add custom logging handler using contextvars and OpenSearch

  • Define JobLogEntrySchema and LogContextSchema

  • Support search_after pagination in log search API

  • Fetch logs incrementally from UI using search_after cursor

  • Add React log viewer with fade-in and scroll support

  • WARNING: It’s required to add the job logs index template for this feature to work correctly

Version v3.0.2 (released 2025-03-24)

  • scheduler: (fix) add newly created run object to db session (sqlalchemy v2 compatibility)

Version v3.0.1 (released 2025-03-10)

  • ui: rename job run button label (ux improvement)

Version v3.0.0 (released 2025-02-13)

  • Promote to stable release.

Version v3.0.0.dev2 (released 2025-01-23)

Version v3.0.0.dev1 (released 2024-12-12)

  • fix: alembic problem

  • setup: change to reusable workflows

  • setup: bump major dependencies

  • tasks: use utcnow

Version v2.0.0 (released 2024-10-14)

  • job types: refactor public method name (breaking change)

Version v1.1.0 (released 2024-10-10)

  • webpack: bump react-searchkit

Version v1.0.0 (released 2024-09-27)

  • db: change tables names

  • global: add jobs registry

  • interface: add job types

Version v0.5.1 (released 2024-09-19)

  • fix: add compatibility layer to move to flask>=3

Version v0.5.0 (released 2024-08-22)

  • bump invenio-users-resources

Version v0.4.0 (released 2024-08-22)

  • package: bump react-invenio-forms (#52)

Version v0.3.4 (released 2024-08-08)

  • fix: pass args to task via run

Version v0.3.3 (released 2024-08-08)

  • fix: utils: only eval strings

Version 0.3.2 (released 2024-07-24)

  • UI: fix schedule save

  • UI: fix default queue; don’t error on empty args

Version 0.3.1 (released 2024-07-11)

  • services: skip index rebuilding

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-3.1.1.tar.gz (97.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_jobs-3.1.1-py2.py3-none-any.whl (125.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_jobs-3.1.1.tar.gz.

File metadata

  • Download URL: invenio_jobs-3.1.1.tar.gz
  • Upload date:
  • Size: 97.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for invenio_jobs-3.1.1.tar.gz
Algorithm Hash digest
SHA256 170fdecec17494c9553bf7f205fe8505b04085705584c44a0343f0b1f42082c8
MD5 60892984e8525a4690b1c041e94844f3
BLAKE2b-256 40472fb40d269e2e2f518e575fd4f8216155935097fe09f88bfee346b0d325ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: invenio_jobs-3.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 125.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for invenio_jobs-3.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e974cd78f17e78dbb7c6ac9f474efa7ce2981da538d4d86d347eccbc80a70a6e
MD5 cd4be09804629f5f013a2c876d8c328d
BLAKE2b-256 be20bb639d73a15c57644406dbe9b58284bd18d1ae7ddc7054d4573968d14a1b

See more details on using hashes here.

Supported by

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