max-mapper/monu

integrate run-every

max-mapper opened this issue · 0 comments

I found https://npmjs.org/run-every today, it is super simple and lets me do stuff like this in my config:

   "gititude-update": "run-every 600 bash -c \\\"gititude update || true\\\""

the bash -c part is just so I can do gititude update || true which makes it always exit with 0 so that run-every won't terminate due to non-zero exit code in case gititude update exits with non-zero

would be cool to integrate run-every into monu so you can do stuff like this easily in your config without the bash hax