I created a terminator script at work. It shutdowns my system if progress.txt is not updated in the next 3 minutes. If I am dreading any task, I launch this. All I have to do is make any progress and record it in the progress.txt file. It forces me to focus.
Shutting down the system is not a life threatening situation but it is annoying and a minor inconvenience. Especially since it takes a few minutes to restart the system and load all the applications.