InvenioRDM module for jobs management
Project description
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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for invenio_jobs-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1923e4d3c830483ecc4dbcd23e02820e9e9b62da05be88bc907526d4ed82e90d |
|
MD5 | a43233096f5b262319cfd9dfcc86f003 |
|
BLAKE2b-256 | 6a175b1c7f9ae61737ca18c507df1a015ff5ea0e42de32b6b8ee4ea3af81343a |