diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-08-19 15:44:22 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-08-19 15:44:22 +0000 |
commit | 556c93fc970113010b4bbec80dc0531fa0b46ee8 (patch) | |
tree | ca9d423c1806c98764ad27e14d022cbcb50e203a /src/lib/Server/Generator.py | |
parent | b2d4c43bd043ab786822a9dfd029b71f7a25409d (diff) | |
download | bcfg2-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/Server/Generator.py')
-rw-r--r-- | src/lib/Server/Generator.py | 4 |
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__ = [] |