fixed a bug running via cron start.
Merge branch 'master' of github.com:soichih/osg-btsubmit