cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

By default, App Broker will only sync users, computers, and relationships a single time during a given day. Until this information is synced into the App Broker DB, newly created users and computers will not be available as targets for software requests... Of course, you can always use the "sync data now" button under settings->deployment->common in order to force a sync. There is, however, and undocumented approach that  you can take, in order to schedule a data sync more frequently. 

In App Broker, there is a "Trigger File" mechanism, which App Broker uses to invoke certain tasks which occur on a timer. A trigger file is simply an empty text file, with a very specific name, which will trigger a task in App Broker if the file is dropped into the logs folder.  If you create a trigger file named Trigger_StartDataSync, and drop this into the logs folder, then it will force the same data sync to run as that of the nightly data sync.  Please note that there is no extension on the file name. To schedule additional sync's all you would need to do is create a small script, which could be invoked by a scheduled task, which would copy this trigger file into the logs folder. 

While there are quite a few different triggers in App Broker, only a few would likely be helpful.. The following are some trigger file names, and a brief description of each, which you may find useful, particularly when testing in a Dev environment.

Trigger_CollectionCleanup - Force the collection cleanup process to run. 

Trigger_CollectionInsert - Force the collection insert process to run.

Trigger_UpdateStatus - Forces App Broker to connect to the SCCM DB to check the status on pending requests.

 

 

 

 

Was this article helpful? Yes No
67% helpful (2/3)
Comments
jeffrey_weidle
By
Level 4

@CharlesW The script I have running for this is working, as I figured out that I need to look at the "ServiceTrigger" log to see the the log processing it. My question is that i don't see the "DataSync" log showing it's processing anything. Can you please clarify how I can verify it processes the datasync?

jeffrey_weidle
By
Level 4

@CharlesW I know the original comments were referencing App Broker but my assumption is the processes are the same.

Version history
Last update:
‎Dec 29, 2020 12:15 PM
Updated by: