お知らせ
プログラムを指定した時間に定期的に実行するためのデーモンcrondの設定を行う。設定はユーザーごとに用意されたcrontabという設定ファイルに記述する。crontabには以下のような書式で,各コマンドについて1行ずつ記述する。
min hour day month week command
crontabの情報を表示する $ crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.1455 installed on Wed Dec 1 02:14:18 1999) # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $) 0 0 * * * /home/hoge/logcut.pl ←毎日0時0分にlogcut.plを実行