in reply to PERL DBI Error when run from CRON

Also, a simple way to get all of your typical environment in is to make your cron entry just source your profile script. If you do anything wacky or shell-specific in your profile script, then this might not work (since your crontab gets run through "sh" the system shell). Something like:
* * * * * source ~me/.bash_profile ; perl my_script.pl etc

------------
:Wq
Not an editor command: Wq

Replies are listed 'Best First'.
Re: Re: PERL DBI Error when run from CRON
by tilly (Archbishop) on Nov 15, 2003 at 18:45 UTC