{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/153","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/153/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/153/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/153","id":107033898,"number":153,"title":"Question: What logic should i use to make users scheduled notifications?","user":{"login":"leonardopaiva","id":6975831,"avatar_url":"https://avatars.githubusercontent.com/u/6975831?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardopaiva","html_url":"https://github.com/leonardopaiva","followers_url":"https://api.github.com/users/leonardopaiva/followers","following_url":"https://api.github.com/users/leonardopaiva/following{/other_user}","gists_url":"https://api.github.com/users/leonardopaiva/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardopaiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardopaiva/subscriptions","organizations_url":"https://api.github.com/users/leonardopaiva/orgs","repos_url":"https://api.github.com/users/leonardopaiva/repos","events_url":"https://api.github.com/users/leonardopaiva/events{/privacy}","received_events_url":"https://api.github.com/users/leonardopaiva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-17T17:30:12Z","updated_at":"2015-09-18T00:26:33Z","closed_at":null,"body":"Hello, i`m making a hello world app with push notification, just a simple todo list, where the user can put a reminder on tasks that he create. \r\n\r\nWhat logic should i use to make this notification? i need to register when the user create the reminder, sending an ajax to my server, then make my server watch 30 by 30 seconds if have a notification to send? if so, send it? I dont want to overload my server doing 30 by 30 seconds requests."},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/141294892","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/153#issuecomment-141294892","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/153","id":141294892,"user":{"login":"leonardopaiva","id":6975831,"avatar_url":"https://avatars.githubusercontent.com/u/6975831?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardopaiva","html_url":"https://github.com/leonardopaiva","followers_url":"https://api.github.com/users/leonardopaiva/followers","following_url":"https://api.github.com/users/leonardopaiva/following{/other_user}","gists_url":"https://api.github.com/users/leonardopaiva/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardopaiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardopaiva/subscriptions","organizations_url":"https://api.github.com/users/leonardopaiva/orgs","repos_url":"https://api.github.com/users/leonardopaiva/repos","events_url":"https://api.github.com/users/leonardopaiva/events{/privacy}","received_events_url":"https://api.github.com/users/leonardopaiva/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T00:26:33Z","updated_at":"2015-09-18T00:26:33Z","body":"@fredgalvao this plugin that you mentioned works when the app is closed?"}}