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 hashes)

Uploaded Source

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