Skip to content

Instantly share code, notes, and snippets.

@scaint
Created July 7, 2014 05:22
Show Gist options
  • Save scaint/46557a00c37ed3426030 to your computer and use it in GitHub Desktop.
Save scaint/46557a00c37ed3426030 to your computer and use it in GitHub Desktop.
~/bin/crontab
#!/bin/bash
if [ "$1" = '-r' ]
then
dialog --clear --yesno 'Do you realy want to remove crontab?' 5 45 || exit
fi
/usr/bin/crontab $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment