擅长:python、mysql、java
<p>将它们包装在try/except块中并在except块中触发电子邮件?
调度可以通过cron作业完成。你知道吗</p>
<pre><code>import traceback
try:
cursor.execute("CALL proc_commande_clts_detail7();")
catch Exception as e:
email_msg = traceback.format_exc()
#send email logic
</code></pre>