You include the profile execution in the command that you put in your crontab. Something like this will work:
. /home/me/.profile && my_script
In reply to Re: In UNIX how does one execute the .profile in PERL running from CRON
by davorg
in thread In UNIX how does one execute the .profile in PERL running from CRON
by rcetnar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |