Enhancement: spin off "deploy crontab" logic into library

 * add a few test cases to nail this