Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为我工作的一部分,我必须定期检查数据库中的失败项目。我有疑问。我不想时不时地手动执行查询,而是希望在预定义的时间间隔内自动执行它,并将这些项目捕获到 Excel 工作表中或触发发送给某些收件人的邮件。最好的方法是什么?
*/30 * * * * ("PUT your query here")
你可以通过使用 cronjob 来做到这一点