Skip to main content

A buildout recipe to run a zope script

Project description

Plone Runscript Recipe

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.1 2009-03-08

  • Removed SVN tags – dont need no more SPAM [seletz]

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone.recipe.runscript-0.3.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file plone.recipe.runscript-0.3.1.tar.gz.

File metadata

File hashes

Hashes for plone.recipe.runscript-0.3.1.tar.gz
Algorithm Hash digest
SHA256 17862b00c464d546a69d438845d743b07c0fc444438efa0b81b19f17abbcfd39
MD5 7f0a29e04f08edc24005a69f642608a0
BLAKE2b-256 0d1f32912bcb9c628518c192b299209fec75ad31b82cd6074e47e13ea2926e75

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