TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Free tool to schedule and receive SQL emails?

1 点作者 bruno2223超过 8 年前
There is any tool to schedule a SQL query and then receive the results every day?<p>I need to receive an email every morning telling me if my crawlers did run fine last night. I can do this with a simple SQL query.<p>I am willing to build this tool (in Node.js) if this tool does not exists just yet.<p>* No SaaS, please. I&#x27;m looking for a self-hosted option. I do not want to give a read-only password of my database for anybody.

1 comment

viraptor超过 8 年前
Why not use cron?<p><pre><code> mysql the_database &lt;&lt; &quot;SELECT ....&quot; | mail -s &quot;Daily report&quot; your@email </code></pre> You can insert some formatter in between if you want. If you&#x27;d rather send emails from a proper account and not local mailer, you can use ssmtp and configure a smarthost. (<a href="http:&#x2F;&#x2F;www.cyberciti.biz&#x2F;tips&#x2F;linux-use-gmail-as-a-smarthost.html" rel="nofollow">http:&#x2F;&#x2F;www.cyberciti.biz&#x2F;tips&#x2F;linux-use-gmail-as-a-smarthost...</a>)
评论 #12698227 未加载
评论 #12698225 未加载