cronから立ち上げられた--loginオプション付きのbashのは.bash_profileをきちんと参照する

cronから立ち上げられたbashはきちんと.bash_profileをきちん読み込んでいる
以下その解説

$ cat .bash_profile
A=xxx
$ crontab -l
* * * * *    bash --login -c 'echo `date` "->"  $A >> /tmp/a.txt'
$ tail -f  /tmp/a.txt
2008年 1月 30日 水曜日 16:14:01 JST -> xxx
2008年 1月 30日 水曜日 16:15:01 JST -> xxx
2008年 1月 30日 水曜日 16:16:01 JST -> xxx
2008年 1月 30日 水曜日 16:17:01 JST -> xxx