A buildout recipe to run a zope script
Project description
Plone Runscript Recipe
- Author:
Stefan Eletzhofer <stefan.eletzhofer@inquant.de>
- Date:
$Date: 2007-11-08 16:06:38 +0100 (Do, 08 Nov 2007) $
- Revision:
$Revision: 53444 $
Abstract
This is a buildout recipe for zope/plone which runs a script using zopectl in a zope instance.
Recipe options
- instance-home
The INSTANCE_HOME. This can commonly be found in the ${instance:location} buildout variables.
- zeo-home
If you are using a zeo server then you must define this option so zopectl can connect to your database. This can commonly be found in the ${zeoserver:location} buildout variable.
- script
The path to the script that will be run. If not specified the script name is taken form the part name with a .py suffix added and assumed to be location in ${buildout:bin-directory}.
- args
The arguments for the script.
The script is run using the instance startup script, which is assumed to be named like the basename part of the instance-home directory.
Changes
0.3 2009-03-08
Long overdue release [seletz]
added support for zeo by adding a ‘zeo-home’ option which works in the same manner as the ‘instance-home’ option. the zeo is started and then stopped once the script has been run. [claytron]
Document the .py suffix default [wichert]
Allow specifying a custom script as well [wichert]
Expand the documentation a little bit [wichert]
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
Hashes for plone.recipe.runscript-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2fc07424d6fe3d7f8d814cb8b664c4c642a6dd3b6df39dd25f4d8a3c6985edd |
|
MD5 | 2a35f6b2b13f59d13c405b8de801aa9f |
|
BLAKE2b-256 | b3e7a34b18dc7001ff46dfe88adaf398f7f2d4865660b8da1fabcb092b0ca874 |