Created
August 7, 2012 17:54
-
-
Save soramugi/3287824 to your computer and use it in GitHub Desktop.
crontabはバックアップ取って置いた方が安心ですね
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL=/bin/bash | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin | |
MAILTO='' | |
#設定可能な数値 | |
#分 0-59 | |
#時 0-23 | |
#日 1-31 | |
#月 1-12 | |
#曜日 0-7 (0または7は日曜日) | |
# | |
#実行時間指定方法 | |
#リスト 0,10,20,30 分フィールド指定した場合は0,10,20,30分に実行します。 | |
#範囲 1-5 月フィールドで指定した場合、1,2,3,4,5月に処理を実行します。 | |
#共存 1,6,9-11 時間フィールドで指定した場合、1時、6時、9時、10時、11時に処理を実行します。 | |
#間隔 */10 分フィールドで指定した場合、10分間隔で処理を実行します。「/」の後ろに指定した値の間隔で処理を実行します。 | |
# エラー出力をメール送信させない | |
# 1>/dev/null 2>&1 | |
#,----------分 | |
#| ,--------時 | |
#| | ,------日 | |
#| | | ,----月 | |
#| | | | ,--曜日(0:日 1:月 2:火 3:水 4:木 5:金 6:土 7:日) | |
#| | | | | | |
#* * * * * command | |
#00 1 * * * /hoge/no/fuge | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment