logoalt Hacker News

ramon156today at 12:18 PM2 repliesview on HN

The only thing that is tied to MacOS is launchd, seems like that's useful info to add to the docs. I don't know if you can just do a run from the CLI.

Supporting Systemd should be easy. Not sure what windows uses.


Replies

jeroenhdtoday at 1:09 PM

Creating a Windows service is a bit harder (as Windows actually uses a real API for services rather than just relying on process spawning and scripting around that), but with task scheduler you can schedule tasks to run once a month in all kinds of ways.

show 2 replies
b40d-48b2-979etoday at 12:40 PM

sc.exe or tasksched