Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix comment
xinnan.houfd2bb3bb7db1
diff --git a/nanobot/cron/service.py b/nanobot/cron/service.pyindex 42b0e097e..5abe676e6 100644--- a/nanobot/cron/service.py+++ b/nanobot/cron/service.py@@ -84,7 +84,6 @@ class CronService:if mtime != self._last_mtime:logger.info("Cron: jobs.json modified externally, reloading")self._store = None- self._last_mtime = mtimeif self._store:return self._store@@ -131,6 +130,7 @@ class CronService:delete_after_run=j.get("deleteAfterRun", False),))self._store = CronStore(jobs=jobs)+ self._last_mtime = self.store_path.stat().st_mtimeexcept Exception as e:logger.warning("Failed to load cron store: {}", e)self._store = CronStore()