@gsummerer - I agree with @ssakunala that you need the additional checks from the source Task to properly run the software scans. Find Task 2: Initiate Software Scan (9.2.24.0) and click on the [Copy]
button in the toolbar in the Details pane. Then apply one of the two solutions provided as below.
@TivoliDave’s solution uses a client setting to store the start time, and so this line
setting "14D_Test_Last_Executed" = "{now}" on "{now}" for client
is inserted at the beginning of the code on the Actions tab of the Create Task dialog for your custom copy of the Initiate Software Scan task. This will insure it doesn’t interfere with any of the OOB code that comes with the copy.
Note:
You may have encountered an issue with copying text from the forum which included “smart” quotes. The script engine and relevance interpreters don’t recognize these characters as quotes.
When proper quotes are used, in the Action script, quoted text strings are shown in a red font. While strings surrounded by curly braces { ... }
will be displayed in a purplish color.
You would create a new relevance clause on the Relevance tab of the Create Task dialog after the last OOB clause by clicking the [+]
button to its right. Enter the applicability relevance from @TivoliDave’s solution:
not (exists setting "14D_Test_Last_Executed" whose (exists value whose ((now - it as time)<14*day) of it) of client)
Then click the [OK]
button to store the copy of the Task, with these modifications, in the Master Action Site.
@JasonWalker’s solution is a bit less work to implement, and, to me, is a bit more elegant, as it uses data derived from the operation of BigFix itself.
You don’t need to modify the Action Script in this case, merely add Jason’s applicability relevance as a new clause to the Relevance tab of your copy of the Initiate Software Scan task. As before, just click the [+]
button to the right of the last OOB clause, and enter the following:
not exists action whose (now - last active time of it < 14 * day )
and click on the [OK]
button to store the copy of the Task in your custom site (or master action site).
In either case, after you’ve created your custom copy, you can then Take Action and target the Computers that need to be scanned on a 14 day interval.
I hope this helps you figure out the way forward. I’m happy to assist you further if you’re interested.