(content)
| 116 | } |
| 117 | |
| 118 | function writeCrontab(content) { |
| 119 | const r = spawnSync('crontab', ['-'], { input: content, encoding: 'utf8' }); |
| 120 | if (r.status !== 0) throw new Error(`crontab install failed: ${r.stderr}`); |
| 121 | } |
| 122 | |
| 123 | function unixAdd(cronExpr, claudeCommand) { |
| 124 | const id = newId(); |
no outgoing calls
no test coverage detected