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 | 665d913a0973044e8bce18ad2c5d71d3d5392bfd (patch) | |
tree | 7419d02c323829e439e254c2b97a4c2ce37f9194 /src/sbin | |
parent | 5e1939ba952001e0d797d5fbde8f96606e8325f1 (diff) | |
download | bcfg2-665d913a0973044e8bce18ad2c5d71d3d5392bfd.tar.gz bcfg2-665d913a0973044e8bce18ad2c5d71d3d5392bfd.tar.bz2 bcfg2-665d913a0973044e8bce18ad2c5d71d3d5392bfd.zip |
add Cron support
(Logical change 1.44)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@265 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rw-r--r-- | src/sbin/Bcfg2Server | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sbin/Bcfg2Server b/src/sbin/Bcfg2Server index 38154841e..6de61a0a4 100644 --- a/src/sbin/Bcfg2Server +++ b/src/sbin/Bcfg2Server @@ -37,6 +37,10 @@ class BcfgServer(Server): def __progress__(self): while self.core.fam.fm.pending(): self.core.fam.HandleEvent() + try: + self.core.RunCronTasks() + except: + self.LogFailure("Cron") return 0 def GetMetadata(self, client): |