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 (289k 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

I have a scheduled task that runs a custom command that itself has multiple custom commands that run in a specific timed order. I would like the scheduler to run that top level ... , but Command B and C will wait for Command A to finish. Is this possible?

asked Jul 23 by DA-symplr (100 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)
3,548 questions
3,238 answers
8,232 comments
547,811 users