機能
 動作確認
 起動
 設定ファイル
 設定
 crontab コマンド
 アクセスコントロール

 機能
 ・スクリプト(ジョブ)を自動実行する daemon process
全てのタイムテーブルを毎分チェック
タイムテーブル内に設定されたジョブ

 動作確認例
 $ systemctl status crond

 設定ファイル
 ・「/etc/crontab」ファイルから呼ばれるディレクトリへの設定
利用者「root」の指定
/etc/cron.hourly/
0anacron
/etc/cron.daily/
logrotate
man-db.cron
mlocate
/etc/cron.weekly/
/etc/cron.monthly/
/etc/cron.d/
0hourly
raid-check
sysstat
 ・「/etc/crontab」のデフォルト値
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
 ・例
########################
01 * * * * root run-parts /etc/cron.hourly    (毎時1分、デフォルトなし)
02 4 * * * root run-parts /etc/cron.daily    (毎日4時2分)
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
########################
 ・利用者「全ユーザ」の指定 (直接crontabコマンドで設定)
/var/spool/cron/XXXX

 crontab コマンド
-u <ユーザ名>  ユーザ指定、未指定はカレントユーザ
-l 現在のcron設定を表示
-r 現在のcron設定を削除
-e crontabファイルを編集

 設定
 ・# crontab [-u user] {-l|-r|-e}
 ・自分自身のcrontabファイルを編集
$crontab -e
環境変数名=値
リスト
範囲
共存
間隔値

 アクセスコントロール
 ・/etc/cron.allow
 ・/etc/cron.deny