summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-08-19 15:44:22 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-08-19 15:44:22 +0000
commit556c93fc970113010b4bbec80dc0531fa0b46ee8 (patch)
treeca9d423c1806c98764ad27e14d022cbcb50e203a /src/lib
parentb2d4c43bd043ab786822a9dfd029b71f7a25409d (diff)
downloadbcfg2-556c93fc970113010b4bbec80dc0531fa0b46ee8.tar.gz
bcfg2-556c93fc970113010b4bbec80dc0531fa0b46ee8.tar.bz2
bcfg2-556c93fc970113010b4bbec80dc0531fa0b46ee8.zip
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Generator.py4
1 files changed, 3 insertions, 1 deletions
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__ = []