cron: send notification email to multiple recipients

Avatar
  • updated
  • Answered

Setup of a cron job allows me to set an email address to receive output from the job. 

How do I send the same email to multiple recipients? 

Most systems, and crontab itself (man 5 crontab), support a list of email addresses with comma separators. For example, "[email protected],[email protected]". But cPanel says this form is not legal. Why not?
How do I do it?

Pinned replies
Avatar
Alyssa K
  • Answer
  • Answered

Hello, 


Thank you for your question regarding cron jobs. Unfortunately, setting up the syntax for cron jobs can involve coding work, which is outside of the scope of support we can offer. It is possible that the system is limiting email recipients as a security feature to prevent spam. I recommend checking the security settings of your server, if possible. 

Best Regards,

Alyssa K.

Avatar
Alyssa K
  • Answer
  • Answered

Hello, 


Thank you for your question regarding cron jobs. Unfortunately, setting up the syntax for cron jobs can involve coding work, which is outside of the scope of support we can offer. It is possible that the system is limiting email recipients as a security feature to prevent spam. I recommend checking the security settings of your server, if possible. 

Best Regards,

Alyssa K.