{"action":"created","issue":{"url":"https://api.github.com/repos/evernote/android-job/issues/324","repository_url":"https://api.github.com/repos/evernote/android-job","labels_url":"https://api.github.com/repos/evernote/android-job/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/evernote/android-job/issues/324/comments","events_url":"https://api.github.com/repos/evernote/android-job/issues/324/events","html_url":"https://github.com/evernote/android-job/issues/324","id":276384508,"number":324,"title":"DailyJob not works","user":{"login":"Paul75","id":457062,"avatar_url":"https://avatars2.githubusercontent.com/u/457062?v=4","gravatar_id":"","url":"https://api.github.com/users/Paul75","html_url":"https://github.com/Paul75","followers_url":"https://api.github.com/users/Paul75/followers","following_url":"https://api.github.com/users/Paul75/following{/other_user}","gists_url":"https://api.github.com/users/Paul75/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul75/subscriptions","organizations_url":"https://api.github.com/users/Paul75/orgs","repos_url":"https://api.github.com/users/Paul75/repos","events_url":"https://api.github.com/users/Paul75/events{/privacy}","received_events_url":"https://api.github.com/users/Paul75/received_events","type":"User","site_admin":false},"labels":[{"id":250670183,"url":"https://api.github.com/repos/evernote/android-job/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-11-23T13:58:17Z","updated_at":"2017-11-28T08:04:06Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI do this : \r\nApplication : \r\n`JobManager.create(this).addJobCreator(new MyDailyJobCreator());`\r\n\r\nMyDailyJobCreator : \r\n```\r\npublic class MyDailyJobCreator implements JobCreator {\r\n\r\n    @Override\r\n    @Nullable\r\n    public Job create(@NonNull String tag) {\r\n        switch (tag) {\r\n            case MyDailyJob.TAG:\r\n                return new MyDailyJob();\r\n            default:\r\n                return null;\r\n        }\r\n    }\r\n}\r\n```\r\nMyDailyJob : \r\n```\r\npublic class MyDailyJob extends DailyJob {\r\n\r\n    public static final String TAG = \"MyDailyJob\";\r\n\r\n    public static void schedule() {\r\n        // schedule between 1 and 20 PM\r\n        DailyJob.schedule(new JobRequest.Builder(TAG), TimeUnit.HOURS.toMillis(1), TimeUnit.HOURS.toMillis(20));\r\n    }\r\n\r\n    @NonNull\r\n    @Override\r\n    protected DailyJob.DailyJobResult onRunDailyJob(Job.Params params) {\r\n        Log.d(TAG, \"onRunDailyJob\");\r\n\r\n        //Intent i = new Intent(getContext(), SaveDatasService.class);\r\n        //getContext().startService(i);\r\n\r\n        return DailyJob.DailyJobResult.SUCCESS;\r\n    }\r\n}\r\n```\r\n\r\nMy problem that it nothing do no entry to onRunDailyJob ...\r\n\r\nThanks for help."},"comment":{"url":"https://api.github.com/repos/evernote/android-job/issues/comments/347443787","html_url":"https://github.com/evernote/android-job/issues/324#issuecomment-347443787","issue_url":"https://api.github.com/repos/evernote/android-job/issues/324","id":347443787,"user":{"login":"Paul75","id":457062,"avatar_url":"https://avatars2.githubusercontent.com/u/457062?v=4","gravatar_id":"","url":"https://api.github.com/users/Paul75","html_url":"https://github.com/Paul75","followers_url":"https://api.github.com/users/Paul75/followers","following_url":"https://api.github.com/users/Paul75/following{/other_user}","gists_url":"https://api.github.com/users/Paul75/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul75/subscriptions","organizations_url":"https://api.github.com/users/Paul75/orgs","repos_url":"https://api.github.com/users/Paul75/repos","events_url":"https://api.github.com/users/Paul75/events{/privacy}","received_events_url":"https://api.github.com/users/Paul75/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T08:04:06Z","updated_at":"2017-11-28T08:04:06Z","author_association":"NONE","body":"Okay that seams works but it send me in 01:01:07 hours but for me I must send only at 07pm to 08pm ? When I can do ?"}}
{"actor":{"display_login":"Paul75"}}