0 votes

Is it possible to get an email notification if a scheduled task fails to run, or if 1 step in the task failed?

I have a scheduled task that goes through a few steps on a new user start date, enabling the account, unhiding from exchange, sends an email notification to manager, etc

I noticed that the email part was failing to send, is it possible to get an email notification if this happens?

by (400 points)

1 Answer

0 votes
by (272k points)
selected by
Best answer

Hello Scott,

You will need to use a PowerShell script to send email notifications to managers in your Scheduled Task. The script can send an email notification to a specific email address, for example, if the manager of the affected user has no email address. For an example, have a look at the following script from our repository: https://www.adaxes.com/script-repositor ... p-s338.htm.

Related questions

0 votes
1 answer

In the Admin Console, I've created a scheduled task to create an export. I get this error, "The execution of the external program or script took longer than 600000 milliseconds ... it manually at a command line, it generates the file in a matter of seconds.

asked Mar 9, 2015 by sbanks (270 points)
0 votes
1 answer

Hallo everyone, I'm new to this Forum and I hope that someone can help me. My Environment: - Adaxes Backend Service and Web Frontend running on different mashines. - The backend ... I change the scope of objects :?: Question: Can someone help me? Thanks a lot.

asked Apr 28, 2015 by ATiedemann (360 points)
0 votes
1 answer

As I found out today, the enrollment email notification in the Self-Service policy emails any user account in the domain. We have some service accounts that are just mail-enabled ... = $True } Is that the way to check if they have enrolled or not?

asked Mar 25, 2013 by danftasc (440 points)
0 votes
1 answer

Hello, from the GUI, scheduling is only possible on complete hours. How can I change start time to 02:05? regards Helmut

asked Dec 2, 2021 by a423385 (510 points)
0 votes
1 answer

I would like to backup Adaxes on a regular basis with a powershell script. I have a script that works well but I need to run it as a Scheduled Task. During ... started. What additional permissions would I need to give the service account to perform a backup?

asked Jul 24, 2020 by ComputerHabit (790 points)
3,346 questions
3,047 answers
7,777 comments
544,977 users