class CronApplicationDaemon(Daemon): _svc_name_ = "imagis_cron" _svc_display_name_ = "iMagis Cron" _svc_description_ = "Service to schedule periodic task" def start(self): self.app = CronApplication() self.app.start() def stop(self): self.app.stop()
def start(self): self.app = CronApplication() self.app.start()