using a bash script to fix the locale problem in cron jobs