crontabで%を記述すると自動実行されない
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Linux全般]]
~
crontabに「%」を記述してしまうと、それ以降の文字列を標準...
05 0 * * * test.sh > `date +%w`.log <--- 実行されな...
「%」を文字列として認識させるために「\」を「%」の前に記...
05 0 * * * test.sh > `date +\%w`.log <--- 実行され...
~
注意:Linux上では「¥」は「\(バックスラッシュ)」で表示...
~
参考サイト:http://maruta.be/intfloat_staff/67
~
~
終了行:
[[Linux全般]]
~
crontabに「%」を記述してしまうと、それ以降の文字列を標準...
05 0 * * * test.sh > `date +%w`.log <--- 実行されな...
「%」を文字列として認識させるために「\」を「%」の前に記...
05 0 * * * test.sh > `date +\%w`.log <--- 実行され...
~
注意:Linux上では「¥」は「\(バックスラッシュ)」で表示...
~
参考サイト:http://maruta.be/intfloat_staff/67
~
~
ページ名: