I am doing a application with redis-server but when I do broadcast from my schedule.rb the output console say than It has been send, but never my action cable receive.
this is my file
# schedule.rb
ENV.each { |k, v| env(k, v) }
every '*/3 * * * *' do
runner "Driver.check_driver_logged",:environment => 'development'
end
I use whenever with websocket-client-simple gem.It's also not working.But I add 「sleep 5」 at model method last. It's fine.You could try in your check_driver_logged method.
I am doing a application with redis-server but when I do broadcast from my schedule.rb the output console say than It has been send, but never my action cable receive. this is my file
do you have any idea why the broadcast method no send streaming from crontab ?