Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

scripts from crontab are not sending alerts

vinod u

scripts from crontab are not sending alerts

Hi , We have some scripts enabled in crontab to send some critical alerts. When I am executing manually they are working fine and sending alerts. But they are enabled in cron for every 10 mins but not sending alerts. I checked permissions and cron logs everyting looks fine. Apart from this what might be the problem,

Thanks in Advance
Dennis Handly
Acclaimed Contributor

Re: scripts from crontab are not sending alerts

Scripts in crontab don't execute their .profile. So if you need an environment, you must set it manually, either source it in the script or in the crontab entry.