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.

Filename, size & hash SHA256 hash help File type Python version Upload date
plone.recipe.runscript-0.3.1.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page