in reply to setting environment variable issue

Error is due to missing environment variables . You might have set the environment variables from one SHELL say bash and running the crons from another SHELL say sh.. Srinidhi