QuantumATK Forum
QuantumATK => General Questions and Answers => Topic started by: Haozhu Wang on May 18, 2016, 20:30
-
Hello all,
Does anyone have an idea about letting ATK+VNL send an email when the job is done?
Best,
Haozhu
-
If you are using the Job Manager to submit to a PBS cluster, it's already included in the parameters.
You could also put something in your actual script. I never tested it myself, but Python has email support via "smtplib", see https://docs.python.org/2/library/email-examples.html
Finally (but not really...) if you run - again via the Job Manager - on a local machine, you could modify the source code in site-packages/AddOns/JobManager/LocalPlugin/LocalJob.py - however you would need to know the API for the Task class, which we haven't really published :|
This is a cool idea, we'll see if it can be added for the local Job Manager in VNL 2017!