# HG changeset patch # User Thierry Florac # Date 1426071275 -3600 # Node ID 855ea452bd973f045a0ea5904454a013d5331e75 # Parent 48483b0b26fab8120327bb16b1e6da03176ec5e1 Added EGG info diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/PKG-INFO --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/PKG-INFO Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,68 @@ +Metadata-Version: 1.1 +Name: pyams-scheduler +Version: 0.1.0 +Summary: PyAMS tasks scheduler +Home-page: http://hg.ztfy.org/pyams/pyams_scheduler +Author: Thierry Florac +Author-email: tflorac@ulthar.net +License: ZPL +Description: ======================= + pyams_scheduler package + ======================= + + .. contents:: + + What is pyams_scheduler? + ======================== + + pyams_scheduler is a package which is part of the PyAMS framework and is targeted to the Pyramid environment. + + This package allows to define tasks which will be scheduled and run asynchronously on a regular basis. + + Scheduling is based on the APScheduler package, and tasks can be scheduled using cron-style, "at" or interval + based scheduling settings. But tasks definitions are stored in the ZODB and they can be managed easily through + a simple web interface; synchronisation between the web process and the scheduler background process is done + using ØMQ messages. + + Tasks can keep an history log in the ZODB; these logs can also be sent by mail, on each run or when errors + are detected. + + + Starting scheduler + ================== + + The APScheduler process is started automatically on package include. + + The only thing you have to do is to create an application setting in your INI file, like this: + + pyams_scheduler.tcp_handler = 127.0.0.1:5555 + + This will define the address and port of the listening ØMQ process. Without this setting, the scheduler won't + be started. + + + Adding tasks + ============ + + Three task types are defined into PyAMS scheduler package: + + - an URL caller task, which can be used to call any HTTP based URL + + - an SSH command task, which can be used to start local or remote commands + + - a ZODB packing task, which can be used to pack a ZODB. + + You can also register and add your own tasks, which will be added through PyAMS management interface. + + Each task as a set of common properties which are used to name the task, define the scheduling mode and reports + management and activate and schedule the task, as well as settings specific to the given task. + + + +Keywords: Pyramid PyAMS scheduler +Platform: UNKNOWN +Classifier: License :: OSI Approved :: Zope Public License +Classifier: Development Status :: 4 - Beta +Classifier: Programming Language :: Python +Classifier: Framework :: Pyramid +Classifier: Topic :: Software Development :: Libraries :: Python Modules diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/SOURCES.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/SOURCES.txt Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,41 @@ +MANIFEST.in +setup.py +docs/HISTORY.txt +docs/README.txt +src/pyams_scheduler/__init__.py +src/pyams_scheduler/configure.zcml +src/pyams_scheduler/include.py +src/pyams_scheduler/process.py +src/pyams_scheduler/scheduler.py +src/pyams_scheduler/site.py +src/pyams_scheduler/ssh.py +src/pyams_scheduler/task.py +src/pyams_scheduler/trigger.py +src/pyams_scheduler/url.py +src/pyams_scheduler/zodb.py +src/pyams_scheduler.egg-info/PKG-INFO +src/pyams_scheduler.egg-info/SOURCES.txt +src/pyams_scheduler.egg-info/dependency_links.txt +src/pyams_scheduler.egg-info/entry_points.txt +src/pyams_scheduler.egg-info/namespace_packages.txt +src/pyams_scheduler.egg-info/not-zip-safe +src/pyams_scheduler.egg-info/requires.txt +src/pyams_scheduler.egg-info/top_level.txt +src/pyams_scheduler/doctests/README.txt +src/pyams_scheduler/interfaces/__init__.py +src/pyams_scheduler/interfaces/ssh.py +src/pyams_scheduler/interfaces/url.py +src/pyams_scheduler/interfaces/zodb.py +src/pyams_scheduler/tests/__init__.py +src/pyams_scheduler/tests/test_utilsdocs.py +src/pyams_scheduler/tests/test_utilsdocstrings.py +src/pyams_scheduler/zmi/__init__.py +src/pyams_scheduler/zmi/interfaces.py +src/pyams_scheduler/zmi/scheduler.py +src/pyams_scheduler/zmi/ssh.py +src/pyams_scheduler/zmi/task.py +src/pyams_scheduler/zmi/url.py +src/pyams_scheduler/zmi/zodb.py +src/pyams_scheduler/zmi/templates/scheduler-jobs.pt +src/pyams_scheduler/zmi/templates/task-debug-report.pt +src/pyams_scheduler/zmi/templates/task-history.pt \ No newline at end of file diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/dependency_links.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/dependency_links.txt Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,1 @@ + diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/entry_points.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/entry_points.txt Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,3 @@ + + # -*- Entry points: -*- + \ No newline at end of file diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/namespace_packages.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/namespace_packages.txt Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,1 @@ + diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/not-zip-safe --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/not-zip-safe Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,1 @@ + diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/requires.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/requires.txt Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,17 @@ +setuptools +APScheduler +paramiko +persistent +pyams_form +pyams_pagelet +pyams_skin +pyams_template +pyams_utils +pyams_viewlet +pyams_zmq +pyramid +pyramid_mailer +zope.component +zope.interface + +[test] diff -r 48483b0b26fa -r 855ea452bd97 src/pyams_scheduler.egg-info/top_level.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_scheduler.egg-info/top_level.txt Wed Mar 11 11:54:35 2015 +0100 @@ -0,0 +1,1 @@ +pyams_scheduler