in reply to Re: System call from cron Perl script
in thread System call from cron Perl script
An excellent suggestion.
Another way to accomplish much the same thing is to set the path in the crontab entry itself. You can add a line like the following:
somewhere near the beginning of the crontab entry to explicitly set the path for the processes that cron runs.PATH=/bin:/usr/bin:/usr/local/bin:/path/to/mysql/bin
|
|---|