-----Original Message-----
From: "John M Knoeller via HTCondor-users"<htcondor-users@xxxxxxxxxxx>
To: "HTCondor-Users Mail List"<htcondor-users@xxxxxxxxxxx>;
Cc: "John M Knoeller"<johnkn@xxxxxxxxxxx>;
Sent: 2023. 9. 26. (í) 02:19 (GMT+09:00)
Subject: Re: [HTCondor-users] Never use "notification" option for all usere
You can configure your condor_schedd to refuse jobs that set Notification.
Just add this to the configuration of your schedd.
SUBMIT_REQUIREMENT_NAMES = NoNotify $(SUBMIT_REQUIREMENT_NAMES)
SUBMIT_REQUIREMENT_NoNotify = (JobNotfiication?:0) == 0
SUBMIT_REQUIREMENT_NoNotify_REASON = "Jobs may not use the Notification feature"
Or you can use a submit transform to force the JobNotification attribute of all jobs to be NEVER.
Just add this to the configuration of your condor_schedd
JOB_TRANSFORM_NAMES = $(JOB_TRANSFORM_NAMES) NoNotify
JOB_TRANSFORM_NoNotify @=end
SET JobNotification 0
@end
-tj
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of jhpark95
Sent: Saturday, September 23, 2023 6:27 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Never use "notification" option for all usere
Hello,
I am now using HTCondor service and the notification option is supposed to be used for the people who want to see the status of the job submitted.
As far as I know, there is a option who wants to turn on and off the notifications.
However, since our server handles lots of jobs, around 1e+4~1e+5 jobs for a person and for a week, we would like to stop sending notifications to everybody.
Even though people set the option as "Notification=Always", can we ignore it and don't try to send email to their account?
Best Regards,
Jeonghyeok
|