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

More Help

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

Changes

Version v11.0.0 (released 2026-06-16)

  • chore(setup): bump dependencies

  • chore(packaging): exclude .git-blame-ignore-revs from distribution

  • chore(git-blame): ignore SPDX license header commit

  • chore(licenses): update license headers to use SPDX

Version v10.0.0 (released 2026-06-05)

  • chore(setup): bump dependencies

  • feat(ui): add delete button

  • chore(i18n): update format strings for error messages

Version v9.0.0 (released 2026-05-29)

  • chore(setup): bump dependencies

  • chore: switch to opensearch2 in tests

  • fix(tests): alembic bug workaround

  • fix: Using server defaults in model

  • fix: added missing alembic dependency on invenio-accounts

Version v8.0.1 (released 2026-03-19)

  • fix(alembic): recipes down versions and branch merge

Version v8.0.0 (released 2026-03-09)

  • feat(logs): order logs and group by task

Version v7.1.0 (released 2026-03-09)

  • feat: enable email notification for jobs

Version v7.0.1 (released 2026-02-16)

  • fix: updated last_success condition and update_run

Version v7.0.0 (released 2026-01-30)

  • chore(setup): bump dependencies

  • chore(black): update formatting to >= 26.0

  • fix: ChangedInMarshmallow4Warning

  • fix: RemovedInMarshmallow4Warning

  • fix(chore): DeprecationWarning stdlib

  • feat: commandline client for jobs

  • feat: add delete button to job detail in administration

  • feat: option to edit job args

  • chore: deprecate Link usage

Version v6.1.0 (released 2025-10-23)

  • fix: Handle large log results in job details admin panel

Version v6.0.0 (released 2025-10-01)

  • feature: add tracking of async subtasks

Version v5.0.0 (released 2025-09-09)

  • setup: bump major version of invenio-users-resources

Version v5.0.0.dev0 (released 2025-08-28)

  • feature: add tracking of async subtasks

Version v4.3.2 (released 2025-08-07)

  • fix: datetime not being correctly serialised in scheduled jobs

Version v4.3.1 (released 2025-07-21)

  • fix: serialisation of since datetime

Version v4.3.0 (released 2025-07-17)

  • tasks: adds sentry id to job message

  • i18n: pulled translations

  • errors: deprecate TaskExecutionError

  • i18n: run js extract msgs

  • i18n: add translations for logs display messages

  • fix: improve key generation for message lines

  • style: remove unused import

  • refactor: fix potential memory leak in RunsLogs

  • fix: fix linting errors

  • fix: run auto linter

  • refactor: clean up JobRunsHeader component

  • ci: add JS testing workflow and update gitignore

Version v4.2.0 (released 2025-07-14)

  • chores: replaced importlib_xyz with importlib

  • i18n: push translations

  • i18n: update frontend package path in workflow

  • i18n: include additional .po files in MANIFEST.in

  • i18n: update action texts to use lazy_gettext

  • i18n: test sv language

  • i18n: run js compile catalog

  • i18n: run js extract msgs

  • i18n: Remove unused translation files

  • i18n: refactor compile catalog

  • i18n: run py extract msgs

  • fix: update transifex config

  • workflow: add i18n pull and push translation jobs

  • templates: job-details: Use invenio_url_for

  • templates: job-details: Fix back button not navigating to job search

Version v4.1.0 (released 2025-07-02)

  • admin: remove flag to always show the admin panel

  • services: simplify search filtering logic

  • fix: LegacyAPIWarning

  • fix: SADeprecationWarning

Version v4.0.0 (released 2025-06-03)

  • setup: bump major dependencies

  • fix: ChangedInMarshmallow4Warning

Version v3.2.0 (released 2025-05-20)

  • logging: add log deletion task

Version v3.1.2 (released 2025-05-14)

  • logs: fix minor bug

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-11.0.0.tar.gz (96.1 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-11.0.0-py2.py3-none-any.whl (215.2 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for invenio_jobs-11.0.0.tar.gz
Algorithm Hash digest
SHA256 ab6271020ce32b2ec0a2b307b369f9a2f14eb5fc7ca938418cce3c5972d61f70
MD5 01e07d233824c213a63101d9003fcad4
BLAKE2b-256 b0290fac53e59351a5d1446e94faf1db019b616833961c0fde7f3c6c2185f45e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for invenio_jobs-11.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2aa98ef44431005b30bfd62af6b4384e961b5074437530e6c8e728bc7daa0aeb
MD5 c32dff04c720a12336f5b60d8b747354
BLAKE2b-256 4b8652fbf45641bda1af1f31a2c9d36509aa31ef02b78c6cd0a19eec7d587386

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