Skip to main content
Question

worklet software install duplicates

  • August 15, 2023
  • 1 reply
  • 52 views

Forum|alt.badge.img

I have a worklet created to install software based on scheudle policy which is daily at10am, and when I check the report, I noticed it create duplicates. how to di avoid this?

in evaluation code i have : exit 1

 

also Have a check on : if device misses a configuration patch, it will patch next time it check in

 

1 reply

Forum|alt.badge.img
  • Automox Employee
  • 134 replies
  • August 15, 2023

Hi Curioustoknow,

When the Evaluation code of a worklet is set to ‘exit 1’, this forces the Worklet to always run. Non 0 exit equals ‘non-compliance’ with a policy, which means it will run even if the app is already installed.

To fix this, change the Evaluation code to Exit 0, which will indicate compliance (even if the app is not installed, so not ideal), or you can create Evaluation code which measures whether or not the app is already present, and if so then do nothing. There is an excellent template in the Worklet Catalog you can use as a reference. Attached is a screenshot:


 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings