firebase - Updating database at certain time -


i'm looking make firebase database update @ particular time.

the way should work that, group, leader sets deadline time. group votes on stuff. @ deadline time, database automatically tabulate votes , store response within.

i'm not sure how set these types of rules database without doing check whenever member of group online , refreshes feed. also, allow member write vote-result field, seems bad when want automatic. seems there should easier way this, can't find anything.

it seems other option set separate server counts through time-frames , sends update request when time has allotted. seems firebase should have built in. i'm sure i'm missing something. thank in advance.

edit: here more comprehensive @ usecase. looking cron stuff now, think solve problem, don't know.

1) leader creates group , invites friends it. event created firebase database. group created specific deadline.

2) before deadline, leader , friends can vote on options. submit dictionary database votes.

3) on deadline, either need change state of group (from voting closed) or calculate vote response. same problem, don't know do @ time w/o using user clients.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -