Relative Content

Tag Archive for rubysleep

ruby program not returning from sleep — sometimes

tools@secmgrprd04:~/ $ ruby -v ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu] running on Unbuntu 20.04. I have a ruby program that extracts logs from Palo Alto’s panorama. It sits in a loop which makes an API call to pull logs since the last time stamp and then calls sleep for an interval (currently 900 seconds). The […]