Command line application to periodically execute a command