sendmail works when I trigger the .ksh file manually in the server, but not when triggered from autosys

  Kiến thức lập trình

I am facing an issue where I have installed sendmail in my server.
and I have a script that reads a file which has the email details (FROM:, TO:, and body of email)

/usr/sbin/sendmail -t < path/myfile

When I trigger the script manually from server, I am able to receive the email perfectly fine.
But the same script when I trigger form autosys, I do not see any error in send mail, but email is not coming up.
when I checked maillog, I dont see an error. but I see size=0.
So, somehow the file seems to not get picked.

I am using same user, same profile and I have verified all permissions too.

Could anyone advise on the issue.

I am using same user, same profile and I have verified all permissions too. I dont see a difference.

New contributor

Kiran Tejaswi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT