[SunHELP] Cron

Chris Pinnock cjep at fawlty.net
Wed Sep 25 15:36:58 CDT 2002


On Mon, Sep 23, 2002 at 11:15:06AM -0500, Johnny.Garza at mail.sprint.com wrote:
> Dear Sun Admins,
> I  have a user that is trying to run a cron job on Solaris.
> The job executes, but the output produced is:
> sh: Mail: cannot execute.
> 
> Other cron jobs run with no problem.
> I am thinking user changed something in his profile.
> Do you have any idea what the fix might be?

Try using the full pathname to Mail in the cron job (e.g.
/usr/ucb/Mail).

best wishes,
Chris



More information about the SunHELP mailing list