require "al_worker_ipc" class CountClient < AlWorker def idle_task() ipc = Ipc.open( "/tmp/count_server" ) 10.times do ipc.call( "counter", work: "up" ) sleep 1 end exit end end client = CountClient.new client.run( :nolog, :nopid )