LoginSignup
31
20

More than 5 years have passed since last update.

crontab設定を追加するワンライナーコマンド

Last updated at Posted at 2015-06-10

crontab -eでいちいちエディタ開いて入力するのではなく、以下の1コマンドでイケます。

(crontab -l; echo "0 20 * * * /path/to/cmd > /dev/null 2>&1") | crontab -
31
20
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
20