Ubuntu: How to do a Automatic shutdown when Dropbox stops synching?


Is it possible, or rather is there a way to automatically shutdown Ubuntu (I'm running 12.04) when Dropbox stops synching? That would really suit my needs and cut power consumption.

Thanks beforehand.


I would create a script that runs every 30 seconds (after being manually invoked by the user), and checks the output of the command dropbox status. If the status is found to be Idle for 3-4 consecutive runs, I would then issue the command for shutdown.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »