Hacker News new | ask | show | jobs
by bruno2223 3532 days ago
But how to send the result of this SQL query in a beautiful table format in email's body?

It would be nice to have HTML tags with CSS style.

I am thinking in build an easy tool to do that, really similar to your solution using cronjob, but more fancy and easy to ready on email (also with an .csv attached with all data)

What do u think?

1 comments

> But how to send the result of this SQL query in a beautiful table format in email's body?

The same way. But get cron to invoke a ruby/python/bash script or program to get the output you want.