#!/bin/sh

line=$1
if [ ! -z "$line" ]; then
    j=$(crontab -u $(whoami) -l | grep -v "${line}")
    if [ ! -z "$j" ]; then
		echo "$j" | crontab -u $(whoami) -
    else
		crontab -d
    fi
fi
