2008-01-30から1日間の記事一覧
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 …
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 …