Skip to main content

PyAMS tasks scheduler

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is PyAMS scheduler?

PyAMS_scheduler is an extension package for PyAMS which can be used to handle tasks scheduling. The kind of tasks that can be scheduled are local commands, remote commands started through SSH, HTTP or HTTPS remote services, REST APIs, SQL commands, files transfers, or custom commands that can be provided by special extension packages; you can also create pipelines, where the output of a command can be used as input for the next command.

The tasks definition is stored into the ZODB, as well as the execution history of each task.

The package relies on ZeroMQ for process synchronisation, and APScheduler for tasks scheduling.

Changelog

1.11.0

  • added support for API keys authentication in REST tasks

  • added support for custom HTTP headers in REST tasks

1.10.2

  • added check for broken tasks on application start

  • added support for scheduler configuration from Pyramid settings file

  • added support for Python 3.11

1.10.1

  • added content-type property to REST service client task

1.10.0

  • allow usage of dynamic text formatters into scheduler HTTP client tasks

1.9.1

  • use new PyAMS_security constant

1.9.0

  • added new status to be used on task execution failure

  • added new task status class mapping

1.8.0

  • added exception class to handle task execution errors

  • updated notification status on task execution error

1.7.1

  • updated JWT tokens handler in REST API client task

1.7.0

  • added properties to REST API client task to set login and password attributes of JWT authentication service

1.6.7

  • updated Gitlab-CI for Python 3.10

1.6.6

  • added support for Python 3.10

  • PyAMS_security interfaces refactoring

  • use new ZMI attribute switcher column in task notifications

1.6.5

  • check job next run time when getting list of scheduled jobs

  • added ping message handler to check process communication

1.6.4

  • use constants to define tasks schedule modes

  • use new generic ZMI columns classes in notifications management view

1.6.3

  • translation update

1.6.2

  • updated new request base URL when running a task to be able to generate correct absolute URLs

1.6.1

  • added check for correct host configuration before sending notifications

1.6.0

  • added support for PyAMS_chat package to send notifications after task execution

1.5.0

  • replaced after-commit hooks with new PyAMS_utils transaction manager

  • added option to display scheduler access menu in site home

1.4.3

  • updated history item view form CSS class

1.4.2

  • version mismatch

1.4.1

  • added return link to site utilities view from scheduler tasks view

1.4.0

  • added scheduler label adapter

  • updated add and edit forms title

  • updated package include scan

1.3.3

  • updated menus order in management interface

  • replace ITableElementName interface with IObjectLabel

1.3.2

  • reset task internal ID after cloning

  • corrected check on request registry when removing task

1.3.1

  • added and updated task add and edit forms AJAX renderer

  • Pylint updates

1.3.0

  • updated tasks notifications management, to be able to add new notifications modes easily

  • moved all task related interfaces to pyams_scheduler.interfaces.task module

1.2.1

  • corrected timezone error in task history check

  • added missing “context” argument to permission check

  • small updates in tasks management forms

1.2.0

  • removed support for Python < 3.7

  • updated synchronizer exceptions

  • updated FTP synchronizer handler

1.1.1

  • updated scheduler generations updater order

1.1.0

  • added task copy hook

  • added action to duplicate an existing task

1.0.1

  • updated Gitlab-CI configuration

  • removed Travis-CI configuration

1.0.0

  • initial 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

pyams_scheduler-1.11.0.tar.gz (66.8 kB view details)

Uploaded Source

Built Distributions

pyams_scheduler-1.11.0-py3.11.egg (233.7 kB view details)

Uploaded Source

pyams_scheduler-1.11.0-py3.10.egg (191.9 kB view details)

Uploaded Source

pyams_scheduler-1.11.0-py3.9.egg (190.7 kB view details)

Uploaded Source

pyams_scheduler-1.11.0-py3.8.egg (190.6 kB view details)

Uploaded Source

pyams_scheduler-1.11.0-py3.7.egg (189.6 kB view details)

Uploaded Source

pyams_scheduler-1.11.0-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

Details for the file pyams_scheduler-1.11.0.tar.gz.

File metadata

  • Download URL: pyams_scheduler-1.11.0.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_scheduler-1.11.0.tar.gz
Algorithm Hash digest
SHA256 f3a81cde47386a74decc5d153f719e186a948cb0af90dd9dc6457c0cbd9245cc
MD5 61390a123b5cec614b7951c732889680
BLAKE2b-256 3056013fae27b25e6533509cfcf1606c5ed13df102c6a7f1fed8e22321826923

See more details on using hashes here.

File details

Details for the file pyams_scheduler-1.11.0-py3.11.egg.

File metadata

  • Download URL: pyams_scheduler-1.11.0-py3.11.egg
  • Upload date:
  • Size: 233.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pyams_scheduler-1.11.0-py3.11.egg
Algorithm Hash digest
SHA256 d9c6aa26f0f83a517cf24c7dfca4d8c0f950757cdf7e7e2bfa383af276f759f3
MD5 603ab73630d2e3c20988c15744693d32
BLAKE2b-256 633f7ba410e5d83a81eef0f31e973b8cf272fe5b1768056b87b0e5d3faa5ed4b

See more details on using hashes here.

File details

Details for the file pyams_scheduler-1.11.0-py3.10.egg.

File metadata

  • Download URL: pyams_scheduler-1.11.0-py3.10.egg
  • Upload date:
  • Size: 191.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyams_scheduler-1.11.0-py3.10.egg
Algorithm Hash digest
SHA256 101895653e06107de2e1e2f1c76344b61ccaa6a66f90755cc291b5a3972e167a
MD5 21656337c91c3a11956e29c0d8d148ef
BLAKE2b-256 1d6d5581cf606cc1fdd563e8ae369fcec687dbc8b4a1003ff3feb8c65592ebcf

See more details on using hashes here.

File details

Details for the file pyams_scheduler-1.11.0-py3.9.egg.

File metadata

  • Download URL: pyams_scheduler-1.11.0-py3.9.egg
  • Upload date:
  • Size: 190.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for pyams_scheduler-1.11.0-py3.9.egg
Algorithm Hash digest
SHA256 f25dda812db6883540277080ff64fd73e0bfe23fbe6ce3b0ce13e7e572ad6462
MD5 6aa826e7974df5daee0aa630b557b5ae
BLAKE2b-256 d79aeb80946731f0a1614d4d93f70c11fb40cec1ba69ab3a54b7e5674fc3b1f9

See more details on using hashes here.

File details

Details for the file pyams_scheduler-1.11.0-py3.8.egg.

File metadata

  • Download URL: pyams_scheduler-1.11.0-py3.8.egg
  • Upload date:
  • Size: 190.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.17

File hashes

Hashes for pyams_scheduler-1.11.0-py3.8.egg
Algorithm Hash digest
SHA256 f387de84470e247c0a30a430633ccc4459e09dd7f9f170d682330267a8765fb6
MD5 1c4a786f46ad023dd10330028ac49e75
BLAKE2b-256 8c45f2a937154d597f64a5382df0af4495552fa4a89c0518488380d99875a5ce

See more details on using hashes here.

File details

Details for the file pyams_scheduler-1.11.0-py3.7.egg.

File metadata

  • Download URL: pyams_scheduler-1.11.0-py3.7.egg
  • Upload date:
  • Size: 189.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_scheduler-1.11.0-py3.7.egg
Algorithm Hash digest
SHA256 3e09a37464a1f1f801e65382df12f7baaafbf4de5a5fd943e3cfa85c81633271
MD5 d8f71cf6970fc1abd89c72e2ca11b921
BLAKE2b-256 1481e657af7cfad5a6137b9cb5c6e4007e3ec245009946ddee06d3babe598ed5

See more details on using hashes here.

File details

Details for the file pyams_scheduler-1.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_scheduler-1.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d8459c471ceda2cba2c547f663b33d5570b8ee8dbe559f6bd0f14bd812c501a
MD5 87252744c1fe830b2c588a0dde395932
BLAKE2b-256 9004172d7f41d0bfee8dc1b2deb0f3a085c18331c9443e71700e19df144507ff

See more details on using hashes here.

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