https://github.com/osquery/osquery logo
Title
l

leadZERO

12/17/2018, 9:37 PM
Is there a way to tell fleetctl when to timeout from waiting for more hosts to a query?
m

marpaia

12/17/2018, 9:37 PM
you can ctl-c the command to quit it but i don’t believe there is a built-in timeout option
l

leadZERO

12/17/2018, 9:38 PM
ah bummer, was hoping to script the output to files..
m

marpaia

12/17/2018, 9:39 PM
i’m sure there is some bash wizardry you could employ
l

leadZERO

12/17/2018, 9:49 PM
actually, I missed the exit param… That works
s

seph

12/18/2018, 3:37 AM
timeout
is the quick bash wizardry. You can get fancier with threads and signaling.