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

Solution Unverified - Updated -

Issue

  • 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?

Environment

  • Red Hat Enterprise Linux
  • Crond

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.