key Log In or Register to edit

Scheduler Contrib Contrib Package

The Scheduler Contrib 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 Scheduler Contrib 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:  
20 Nov 2008: 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: T Wiki Preferences

-- TWiki:Main/twiki4plug - 20 Nov 2008

 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.