How to mail the output of a custom script to personal email id?

Solution Unverified - Updated -


  • There is an sql script that needs to be run daily. It is required to schedule that script and send the result daily to a personal email-id.
  • How to send script output from a custom script using cron?


  • Red Hat Enterprise Linux
  • Crond

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content