The /etc/crontab file is your system crontab. /etc/crontabファイルがあなたのシステムcrontabです。 - Gentoo Linux
Code Listing3.10: A new crontab コード表示3.10:新規crontab - Gentoo Linux
Editing crontabs
crontabの編集 - Gentoo Linux
Code Listing3.16: Editing a crontab in place # crontab -e
コード表示3.16:crontabの直接編集 - Gentoo Linux
Code Listing3.13: Removing a crontab コード表示3.13:crontabの削除 - Gentoo Linux
Code Listing3.17: A real crontab コード表示3.17:実際のcrontab - Gentoo Linux
Dcron and Fcron users will need to run crontab /etc/crontab every time they make changes to /etc/crontab. dcronとfcronユーザは/etc/crontabを変更するたびに、crontab/etc/crontabを実行する必要があります。 - Gentoo Linux
Code Listing3.3: Commenting all lines in /etc/crontab # sed -i -e "s/^/#/" /etc/crontab コード表示3.3:/etc/crontabの全ての行をコメントアウト - Gentoo Linux
Code Listing3.14: A real crontab 22 2 * * 1 /usr/bin/updatedb
コード表示3.14:現実的なcrontab - Gentoo Linux
Code Listing3.4: Adding quota check to crontab コード表示3.4: crontabにquotaのチェックを追加 - Gentoo Linux
Code Listing3.1: Collecting data at regular intervals # crontab -u jffnms /opt/jffnms/docs/unix/crontab# crontab -e -u jffnms
コード表示3.1:データを定期的に収集する - Gentoo Linux
However, dcron and fcron require an extra configuration command, namely crontab /etc/crontab.
しかし、dcronとfcronでは特別な設定コマンドが必要とされます。 すなわちcrontab /etc/crontabです。 - Gentoo Linux
The post install messages from some of these cron packages tell you to run crontab /etc/crontab. これらcronパッケージをインストールした後に、crontab/etc/crontabを実行するように指示されます。 - Gentoo Linux
Each user has his own crontab and is allowed to specify environment variables within that crontab. ユーザは各自のcrontabを所有しており、crontabで環境変数を指定することができます。 - Gentoo Linux
Why can't my user use their own crontab?
なぜ個人個人のcrontabが使用できないのですか? - Gentoo Linux
Note: Fcron also has a symlink from crontab to fcrontab.
注意:fcronはcrontabからfcrontabへのシンボリックリンクも作成します。 - Gentoo Linux
Like Vixie cron, each user has his own crontab. vixiecronと同様に、それぞれのユーザが各自のcrontabを持ちます。 - Gentoo Linux
That should open your user's crontab with an editor.
そうすると、エディタを使用してユーザのcrontabが開くはずです。 - Gentoo Linux
Please note that jobs scheduled in the system crontab might not show up in the list of cron-jobs displayed by crontab -l. システムcrontabに登録されたジョブはcrontab-lを使って表示されるcronジョブリストには表示されないことに注意してください。 - Gentoo Linux
VersionEdit crontabRemove crontabNew crontabList cron-jobs
パッケージの種類 crontabの編集 - Gentoo Linux
You should see no cron-jobs in the output from crontab -l.
ジョブが表示されるなら、crontabの削除に失敗しています。 - Gentoo Linux
If you chosevixie-cron or bcron, you should comment all lines in /etc/crontab.
また、vixie-cronを選んだなら、/etc/crontabの全ての行をコメントアウトするべきです。 - Gentoo Linux
If you're using Dcron, that's all you have to do to give a user access to crontab. dcronを使っているなら、ユーザにcrontabへのアクセス権を与えるだけです。 - Gentoo Linux
Of course, you can choose not to use any system crontab at all.
もちろん、どんなシステムcrontabも全く使わないという選択もできます。 - Gentoo Linux
Before we can use any of these commands though, you first need to understand the crontab itself. これらのコマンドを使う前に、crontab自身を理解する必要があります。 - Gentoo Linux
This crontab should echo "I really like cron" every minute of every hour of every day every other month. このcrontabは1ヶ月おきの毎日毎時毎分に"Ireallylikecron"と表示します。 - Gentoo Linux
You might have noticed that the default/etc/crontab contains something like this:
デフォルトの/etc/crontabには以下のようなものが含まれていると気づくでしょう。 - Gentoo Linux
Be sure to consult the man pages for crontab, fcrontab or anacrontab,depending on what you use.
使用するパッケージに応じて、crontab、fcrontab、anacrontabのmanページを必ず調べてください。 - Gentoo Linux
Now we can add that crontab to the system with the "new command" from the table above. ではcrontabを上記の表の「新規コマンド」を使ってシステムに追加しましょう。 - Gentoo Linux
In order to collect this data at regular intervals, it must be added to crontab. このデータを定期的に収集するには、crontabに追加する必要があります。 - Gentoo Linux
To add that to your crontab, let's first edit crons.cron again so that it looks like the following: これをcrontabに追加するために、まず以下のようにcrons.cronを再度編集しましょう。 - Gentoo Linux
When this crontab is used as the root user's crontab (which is not the same as the system crontab), cron(8) assumes the string root is the first word of the command to execute, but no such command exists.
その『防壁』とは、たとえばユーザ ID がそれにあたるでしょう。 この定義は、security(7)や named(8) のマニュアルページで用いられています。 - FreeBSD
All of them offer a similar interface, namely the use of crontab or a similar command. これらは同じようなインターフェースを提供し、すなわちcrontabかそれに似たコマンドを使います。 - Gentoo Linux
Note that onlyVixie-cron schedules jobs in /etc/crontab automatically.
vixie-cronのみ、/etc/crontabに記述されている内容を、変更後すぐに反映することに注意してください。 - Gentoo Linux
Note: When using the remove command, if no argument is supplied, it deletes the current user's crontab. 注意:削除コマンドを使用する際に引数がなければ、現在のユーザのcrontabを削除します。 - Gentoo Linux
Now that we have a clean slate, let's put something useful into the root crontab. ここまで問題なく進んできたので、rootのcrontabに何か役に立つ物を入力しましょう。 - Gentoo Linux
DNS name resolution works for root onlyWhy can't my user use their own crontab?
DNSの名前解決がrootでしか機能しません。 なぜ個人個人のcrontabが使用できないのですか? - Gentoo Linux
Note: Giving another user access to crontab does not let him run cron-jobs as root.If you want a user to be able to edit the root crontab, you should look intosudo.
注意:他のユーザにcrontabの利用を許可するということは、cronジョブをrootとして実行できるようにすることではありません。 ユーザがrootのcrontabを編集できるようにしたいなら、sudoを検討すべきです。 - Gentoo Linux
The system crontab has a different format to the per-user crontabs which crontab(1) updates (the crontab(5) manual page explains the differences in more detail).
その『防壁』は、そのプロセスに侵入した第三者が、さらにシステムの広い範囲に影響を与えることを防ぐように設計されます。 - FreeBSD
You should see a list resembling crons.cron, if not, maybe you used the wrong command to input your new crontab. 確認できない場合、新規crontabを追加する際に間違ったコマンドを使ったのかもしれません。 - Gentoo Linux
The crontab will also echo "I like cron a little" at 16:30 everyday in January and February. It will also echo "I don't really like cron" at3:10 on the January 1st.
crontabは1月と2月の毎日16:30に"Ilikecronalittle"とも表示し、1月1日の3:10に"Idon'treallylikecron"とも表示します。 - Gentoo Linux
This gives you a way to edit your user's crontab in situ, without depending on external files likecrons.cron. これはcrons.cronの様な外部ファイルに依存することなく、ユーザのcrontabを直接編集することができます。 - Gentoo Linux