Do you have some commands you run all the time? Do you need rsync to only run when a IP address is reachable? Then you need to learn Bash scripting. Bash Scripting makes it easy to do repetitive tasks. In the first article in this series an introduction and some background.