Every now and then you come across a handy little application which, when thinking back, could have made your life so much easier at some point in the past.
Sentinella is one of those – a program which will perform a task when something is triggered.
It’s simple, there’s a condition (such as CPU load, memory used, date/time or network traffic) that when met will perform a function that you specify. This might be some hard-coded options like shutdown or reboot, terminate a program or simply sound an alarm, but it can also execute a program. That means that you can really make it do whatever you want!
Once you start a job, Sentinella runs in the background and just pops up once a condition is met, before performing the specified task.
So, you’re uploading something somewhere but need to get to work and can’t wait? No worries, just tell Sentinella that when rsync dies, turn off the machine.
It’s packaged for Fedora, so just install and enjoy!