Cron Scheduled Ollama Autonomous Agent
说明与用途
一个每小时由 cron 触发的自动化代理使用 Ollama 生成内容,经过声音、争议和信用门控后发布到渠道,若不通过则放入隔离文件夹。
问题
Need to autonomously generate and publish safe, relevant content to multiple channels on a schedule while ensuring compliance with voice style, controversy, and credit constraints.
结果
Hourly autonomous content creation with safety gates, reducing manual oversight and ensuring compliance with style, controversy, and credit limits.
工作流
- 1. Cron triggers agent hourly
- 2. Load user voice profile JSON
- 3. Generate text with Ollama LLM
- 4. Run controversy gate via second Ollama model
- 5. Check credit gate against Postgres/Postiz
- 6. If all gates pass, publish to all channels
- 7. If any gate fails, move content to quarantine folder for review
证据
The agent runs on a Linux server, with a cron job triggering it every hour.
The core of the agent is an Ollama model that generates text, but before any content is published, it must pass through a series of gates to ensure it's safe, relevant, and aligned with our values.
- 记录日期: 2026-09-05T18:52:53.574Z