<Linux, cron> cron設定ファイルを読み込む
crontab -e
とかでcron
を直していたが、
適当にファイルを作成して、読み込ませることができるらしい。
Create a text file with any name (like "hogecronjobs") and put all of your cronjobs in that file. Then instead of "crontab -e" to edit your jobs, run "crontab hogecronjobs". That will load the jobs directly from the file. Then you can upate the file at any time to add/edit your jobs. But, every time you edit the file, you have to run "crontab hogecronjobs" again to reload the file into cron.
cron設定説明
www.server-memo.net
くろんメーカー
くろんメーカ - crontabコマンドを自動で生成します。 そのままコピペしてお使いください。 · DQNEO起業日記