title: Execute an action if your account does not login within 'X' number of days (OSX)
body: <p>So, I'm trying to write a script that can perform an action if I am unable to login to my computer with X number of days. An example of this would be to send an email if I don't login after a week. This is mainly for fun, but I want to have some kind of insurance (ie "if you kill me bad guy incriminating docs will be emailed to the FBI).</p>
  
  <p>My two questions are</p>
  
  <p>a) what does a code like this look like</p>
  
  <p>b) do I inject this into the kernel or is it more of a daemon</p>