Skip to content

Keep the machine awake by touching the mouse every minute.

Notifications You must be signed in to change notification settings

andreiGl/Mouser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mouser

Keep the machine awake by touching the mouse every minute.

Run it as jar (adjust the path):

java -jar ~/Downloads/mouser/Mouser.jar

or with optional stopTime argument (24h time format):

java -jar ~/Downloads/mouser/Mouser.jar 14:28

Could be usefull to add an alias to .zshrc:

alias mouser="java -jar ~/Downloads/mouser/Mouser.jar"

DEPRECATED! Use stopTime argument instead!

To stop it from running at specific time, AT command could be used. Create a simple kill script first:

killmouser.sh:

#!/bin/sh
process=`pgrep -f Mouser.jar`
kill ${process}

Then run AT command, like this:

at 6:08 pm -f killmouser.sh

It will run at specified time (here - 6:08pm) and execute command (killmouser.sh)

About

Keep the machine awake by touching the mouse every minute.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages