crontab -e
と書くと ターミナルのコマンド
このエラーメッセージが表示されます:
no crontab for root - using an empty one 888
「888」の意味がわかりませんか?
crontab / etc / crontabの設定ファイル:
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
58 * * * * root cd / && run-parts --report /etc/cron.hourly
52 0 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
46 0 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
9 5 28 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
助けてください。
ありがとう。
承認された回答:
crontab
エディターがed
に切り替えられました 。 ed
を終了するには 、 Qを押します 続いてEnter 。これにより、ed
が終了します 編集者。
crontab
を変更したい場合 エディターをnano
に戻す 使用:
sudo select-editor
これも役立つかもしれません:
EDITOR=nano crontab -e