Skip to content

jmcph4/dms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

dms - The Dead Man's Switch


dms is a dead man's switch for Windows. I was inspired to write it by an article I found while on Hacker News.

Basically, it accepts two arguments from the command line - the path to the "canary file" (as I call it) and an unsigned integer representing the number of seconds to wait after each check (inversely proportional to your paranoia) - like so:

dms canaryfile seconds

For example, check for the file foo.txt every 5 seconds:

dms foo.txt 5

It makes use of the Win32 API, so factor that in if you're playing with the code. Although, this is very simple to do with pretty much any programming language worth learning.

About

dms is a dead man's switch for Windows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages