SchedulerContrib Contrib Package

The SchedulerContrib implements the ideas contained in TWiki:Codev.CronCentre.

It makes it possible to control notification schedules from a TWiki page.

The basic idea is to run a single cron at regular intervals that would invoke a script in the bin directory. This cron program then run continually, waiting to process the next event.

Events are listed on a TWiki page containing cron schedule information and the names of pages containing notification information.

For example, our cron could be:

* * * * * * cd /hugedisk/twiki/bin && ./cron ../data/MyWeb/CronSchedule

The cron schedule page would contain something like this:

Schedule Entry point
Every 2 days TWiki::Plugins::ActionTrackerPlugin::ActionNotify:actionNotify
Every day TWiki::Notify::allWebs

This is based on http://search.cpan.org/~roland/Schedule-Cron-0.9/Cron.pm

Summary of Contents

Detailed Documentation

%$POD%

Settings

Settings are stored as preferences variables. To reference a setting write %<plugin>_<setting>%, e.g. %SCHEDULERCONTRIB_STUB%

  • One line description:
    • Set SHORTDESCRIPTION = Add short description here of your SchedulerContrib contrib

  • Name of the perl package
    • Set STUB = %$STUB%

Installation Instructions

  • Download the ZIP file from the Plugin web (see below)
  • Unzip SchedulerContrib.zip in your twiki installation directory. Content:
    File: Description:
%$MANIFEST%
  • Run SchedulerContrib_installer.pl to automatically check and install other modules that this module depends on. You can also do this step manually. Dependencies: %$DEPENDENCIES%

  • Test if the installation was successful:
    • enter sample here
    • see also Sandbox.PluginTestSchedulerContrib?

Contrib Info

Author: TWiki:Main/twiki4plug
Copyright ©:
License: GPL (GNU General Public License)
Dependencies: %$DEPENDENCIES%
Version: %$VERSION%
Change History:  
08 Jan 2009: Initial version
Home: http://TWiki.org/cgi-bin/view/Plugins/SchedulerContrib
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SchedulerContribDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/SchedulerContribAppraisal

Related Topics: TWikiPreferences

-- TWiki:Main/twiki4plug - 08 Jan 2009

Topic revision: r1 - 02 Apr 2008 - 01:16:30 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.SchedulerContrib