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

Uploaded Source

Built Distribution

invenio_jobs-1.0.0-py2.py3-none-any.whl (110.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: invenio-jobs-1.0.0.tar.gz
  • Upload date:
  • Size: 83.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.20

File hashes

Hashes for invenio-jobs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e3cb54362d07934833c57627de49d93830cb4023c45e814ec92b6b2d852a5cb8
MD5 4f42a07e4e386d85789eb4c51be566f2
BLAKE2b-256 487cfe4abe1b13533e52a4c6a54619248836d77118f03693ae95acf93795e4e0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for invenio_jobs-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1dc352550fbf89b49bcb42a48c3c9f20216919362a4d7134211f21ada1614249
MD5 86f56a404a26864adf523f21c6ff7e3a
BLAKE2b-256 3147f6c0e1fc1fd01ea018d29c346343bb08ae29c88f55b37dd24db1df6abf8f

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