From 556c93fc970113010b4bbec80dc0531fa0b46ee8 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 19 Aug 2004 15:44:22 +0000 Subject: implement baseclass cron stuff (Logical change 1.44) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@258 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Generator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/Server/Generator.py b/src/lib/Server/Generator.py index 1ea602947..c7bc3daae 100644 --- a/src/lib/Server/Generator.py +++ b/src/lib/Server/Generator.py @@ -8,10 +8,12 @@ class Generator(object): '''This is a class that generators can be subclassed from. __name__, __version__, and __author__ must be set for the module __provides__ is a dictionary mapping listing the entity type and name to a function name - __requires__ is a set of external published data needed for operation''' + __requires__ is a set of external published data needed for operation + __croninterval__ is the frequency in second with which the Cron method should be executed''' __name__ = None __version__ = None + __croninterval__ = False __provides__ = {} __requires__ = [] -- cgit v1.2.3-1-g7c22