/ 关于 AI 辅助写代码。 是使用很长一段时间的 AI 帮助写代码后,当前我认为比较合理的是姿势是:人变成技术管理人员。 具体阐述就是: 我的职责变成了:
- 需求明确,技术方案和架构设计;
- 拆分任务,让 AI 完成小模块的任务;
- Review 代码是否符合 HLD 的设计,实际功能 run 后是否符合预期;
- 交付功能;
/ The reason was that I didn’t want to install Obsidian’s sync backup plugin, so I decided to write my own.
The principle is simple: use crontab
to set up a local scheduled task that executes my script run.sh
.
Finally, I created this small tool called cron-runner. It provides a framework for scheduled tasks, including automatic script path setup, generating and viewing execution logs, and supporting custom shell & Node.js scripts.