remove unused code
port publish-crontab from shell to perl