Changeset 3950
- Timestamp:
- 01/29/09 23:49:41 (4 years ago)
- Files:
-
- 1 moved
-
branch/NetworkInventory/umit-scheduler (moved) (moved from branch/NetworkInventory/scheduler-umit) (4 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branch/NetworkInventory/umit-scheduler
r1416 r3950 1 1 #!/usr/bin/env python 2 2 # -*- coding: utf-8 -*- 3 3 # 4 4 # Copyright (C) 2007 Insecure.Com LLC. 5 5 # … … 10 10 # the Free Software Foundation; either version 2 of the License, or 11 11 # (at your option) any later version. 12 # 12 # 13 13 # This program is distributed in the hope that it will be useful, 14 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 16 # GNU General Public License for more details. 17 # 17 # 18 18 # You should have received a copy of the GNU General Public License 19 19 # along with this program; if not, write to the Free Software … … 95 95 except OSError, err: 96 96 # maybe control file just got deleted 97 log.critical(">>> Tried removing %s file, got: %s" % (RUNNING_FILE, 97 log.critical(">>> Tried removing %s file, got: %s" % (RUNNING_FILE, 98 98 err)) 99 99 … … 137 137 """ 138 138 if cleanup(): # scheduler instance is running and you cant start another. 139 sys.exit(0) 139 sys.exit(0) 140 140 141 process = subprocess.Popen([sys.executable, Scheduler.__file__, 141 process = subprocess.Popen([sys.executable, Scheduler.__file__, 142 142 sys.path[0], 'start', HOME_CONF]) 143 143
