System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

scripts from crontab are not sending alerts

vinod u
Advisor

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
1 REPLY
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.