0 votes

We have a couple scheduled tasks that are scoped to run on all user objects across our domain to check for things like upcoming password expiration and account expiration. These tasks run every day and there are conditions set for each one to determine if any actions should be taken. Currently, an event is logged for each object every time the scheduled task is run even if the conditions in the scheduled task aren't met which is making the logs really cluttered. When the conditions aren't met/no actions are taken, we get an event that just says "No operations executed" in the execution log. Is there a way to only log events when an operation is executed?

by (320 points)

1 Answer

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

Hello,

Yes, it is possible. You need to disable logging scheduled tasks execution. It can only be done for all existing scheduled tasks. To disable logging the operation:

  1. Launch Adaxes Administration console.
  2. In the Console Tree, expand your service node.
  3. Right-click Logging and then click Properties in the context menu. image.png
  4. Activate the Log Settings tab.
  5. In the Do not log the following operations section, select the Execute scheduled task checkbox. image.png
  6. Click OK.
0

Thanks for your quick help! Will this also prevent logging for when an action is taken on an account by the scheduled task though? For example, if a scheduled task disabled an account if certain conditions are met, would that still be logged? If possible, I'd like to only disable logging if no actions are taken but still keep logging for when an action is taken.

0

Hello,

Will this also prevent logging for when an action is taken on an account by the scheduled task though?

No, this will only disable logging the actual scheduled task execution which is performed no matter of meeting the conditions.

if a scheduled task disabled an account if certain conditions are met, would that still be logged?

Yes, it will be logged.

If possible, I'd like to only disable logging if no actions are taken but still keep logging for when an action is taken.

That is exactly what selecting the Execute scheduled task checkbox will do.

0

That's exactly what I needed. Thank you!

Related questions

0 votes
1 answer

Is it possible to disable a specific action and/or condition block in a custom command or scheduled task? The main use case would be to make troubleshooting easier without ... as well as the ability to disable an entire condition block from the context menu.

asked Jan 4, 2023 by ngb (290 points)
0 votes
1 answer

My scheduled task currently: Checks for staff in a particular OU that do not have an O365 license Adds a license Resets their AD Password Moves them to an OU based off ... scheduled task moves them out of the OU that the business rule is looking at. Thanks

asked Apr 15, 2020 by russmerriman (40 points)
0 votes
1 answer

and script is but nothing is happeneing. my user in adaxe browwser has the attribute to yes

asked May 10, 2023 by fjacques (20 points)
0 votes
1 answer

Hi All, I'm trying to have a scheduled task email the helpdesk a list of machines from AD that have no description. I created a script and it runs the way I want it ... into just one email. Id like to run that in scheduled task if possible. Many thanks, Will

asked Nov 20, 2017 by will17 (350 points)
0 votes
1 answer

When trying to change the scheduled run time for two older tasks I get the error "Requested Service not found" when I click on the "Change schedule" link. It works fine ... . Is this just a permissions issue or is there something else going on? Thanks, Dan

asked Apr 24, 2017 by dwolf@hewlett.org (50 points)
3,537 questions
3,227 answers
8,219 comments
547,727 users