prashantgupta24 / automatic-mouse-mover

a minimalistic go library/app to keep your mac active and alive
MIT License
306 stars 34 forks source link

Start/Stop via command line #30

Open bratzelk opened 2 years ago

bratzelk commented 2 years ago

It would be nice to be able to Start/Stop AMM via the command line so it’s could easily be triggered via a script or CRON job for instance. Then it could be configured to be enabled between the hours of 9-5.

Anyone able to look into this or provide a working example?

mrplug commented 2 years ago

What about normal terminal commands?

open /Applications/amm.app and killall amm