[Solved] Error while running on Cron

All,

I am running one perl script from prompt and its running fine, but while putting it on cron gives below error,

DB-Library error:
        Could not open interface file.

You have to load your environment for the cron job to be executed... e.g source your .profile or add your environment variables at the beginning of your script

hey thanks vbe, set env variable on start of the script and it worked !