Running customized daemon script to websockets

49 views
Skip to first unread message

Kartik Thakore

unread,
May 26, 2012, 8:05:20 PM5/26/12
to mojol...@googlegroups.com
Hi,

I am running a custom daemon that queues and processes a job by reading a SQLite db that is written to by a mojolicious web app. How can have this daemon prompt a websocket push to clients when it done a job?

Regards

Dotan Dimet

unread,
May 29, 2012, 8:26:06 AM5/29/12
to mojol...@googlegroups.com
Shouldn't your websocket loop just poll the SQLite db?
> --
> You received this message because you are subscribed to the Google
> Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to
> mojolicious...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mojolicious?hl=en.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Kartik Thakore

unread,
May 29, 2012, 1:03:19 PM5/29/12
to mojol...@googlegroups.com
Derp ... that makes more sense .. 

On Tue, May 29, 2012 at 8:26 AM, Dotan Dimet <do...@corky.net> wrote:
Shouldn't your websocket loop just poll the SQLite db?


On Sun 27 May 2012 03:05:20 AM IDT, Kartik Thakore wrote:
Hi,

I am running a custom daemon that queues and processes a job by
reading a SQLite db that is written to by a mojolicious web app. How
can have this daemon prompt a websocket push to clients when it done a
job?

Regards

--
You received this message because you are subscribed to the Google
Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/group/mojolicious?hl=en.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages