{"blog_title":"\u5099\u5fd8\u9332","height":"190","provider_url":"https://hatena.blog","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300ccrontab -r \u3092\u7121\u52b9\u5316\uff08\u4f7f\u7528\u7981\u6b62\uff09\u3059\u308b\u65b9\u6cd5\u300d\u3067\u3059\u3002 \u2161. \u3084\u308a\u65b9 1. ~/.bashrc \u306b\u4ee5\u4e0b\u4e00\u884c\u3092\u8ffd\u52a0\u3059\u308b ~/.bashrc crontab () { [[ $@ =~ -[iel]*r ]] && echo '\"r\" not allowed' || command crontab \"$@\" ;} 2. \u53cd\u6620\u3055\u305b\u308b source ~/.bashrc \u5b9f\u884c\u7d50\u679c $ crontab -r \"r\" not allowed \u53c2\u8003 https://askubuntu.com/questions/871178/disable-crontabs-remove-\u2026","type":"rich","width":"100%","author_url":"https://blog.hatena.ne.jp/kagasu/","author_name":"kagasu","provider_name":"Hatena Blog","blog_url":"https://kagasu.hatenablog.com/","url":"https://kagasu.hatenablog.com/entry/2019/12/11/185502","title":"crontab -r \u3092\u7121\u52b9\u5316\uff08\u4f7f\u7528\u7981\u6b62\uff09\u3059\u308b\u65b9\u6cd5","categories":["Linux"],"image_url":null,"published":"2019-12-11 18:55:02","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2019%2F12%2F11%2F185502\" title=\"crontab -r \u3092\u7121\u52b9\u5316\uff08\u4f7f\u7528\u7981\u6b62\uff09\u3059\u308b\u65b9\u6cd5 - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}