Juniper / open-nti

Open Network Telemetry Collector build with open source tools
Apache License 2.0
233 stars 93 forks source link

How to have two sets of commands with different cron run on the same set of hosts ? #256

Open grf692 opened 5 years ago

grf692 commented 5 years ago

Hi,

On the same set of hosts (with same credentials then), I am trying to perform two different sets of commands using OpenNTI. One set of commands every minute and the other set of command every 15 minutes. Somehow, I did not succeed, it always do both sets of commands every minute even I add the cron-job differently.

* * * * * /usr/bin/python /opt/open-nti/open-nti.py -s --tag 1mn
*/15 * * * * /usr/bin/python /opt/open-nti/open-nti.py -s --tag 15mn

There must be something I don't get or is it simply not possible ? Can someone help maybe please ?

Thanks