Auto upload task

(imported topic written by cm6591)

I have the following auto-upload task and this does not seem to be working. It says “completed” with 100% progress however, I don’t see any files under C:\program files\BigFix Enterprise\BES Server\UploadManagerData\BufferDir\sha1\89\11590789

// upload events every 2 minutes

setting “_BESClient_ArchiveManager_MaxArchiveSize”=“4194304” on “{parameter “action issue date” of action}” for client

setting “_BESClient_ArchiveManager_OperatingMode”=“1” on “{parameter “action issue date” of action}” for client

setting “_BESClient_ArchiveManager_FileSet-events”=“C:\events*.*” on “{parameter “action issue date” of action}” for client

setting “_BESClient_ArchiveManager_Interval_Seconds”=“120” on “{parameter “action issue date” of action}” for client

setting “_BESClient_ArchiveManager_SendAll”=“0” on “{parameter “action issue date” of action}” for client

Thanks

(imported comment written by BenKus)

Try adding the command:

archive now

to the end of the actionscript.

Ben

(imported comment written by cm6591)

can archive now be used with operating mode = 1?

(imported comment written by BenKus)

Good point… That won’t help anything…

But 2 minutes is probably too aggressive of an interval… Switch it to something like 20 minutes and see if it helps…

Ben

(imported comment written by cm6591)

I used the following relevance to run the task every 5 minutes…

(not exists last active time of it or (now - last active time of it) > (5*minute)) of action

I see that the task runs at arbitrary intervals of time - not necessarily every 5 mins. Is this supposed to be atleast 15 mins for it to work or 15 mins is just a recommended setting?

(imported comment written by jessewk)

Actions run in a loop along with the rest of content evaluation so you are not guaranteed that it will run every 5 minutes. Rather, you are guaranteed that on the next time through the client evaluation loop, if it’s been more than 5 minutes since the action ran, it will run again. You can use the client diagnostics tool to see where your clients are spending time in their evaluation loop.