question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Schedule DailyJob with Dagger

See original GitHub issue

For Job we can use IntoMap and JobCreator to schedule job like jobManager.schedule(MyJob.schedule)

For DailyJob we need to call DailyJob.schedule(JobRequest, startMs, endMs) which schedules the job and returns the ID, here we don’t have access to JobRequest.

Can we expose the JobRequest with some public method to provide through DI and schedule it with JobManager?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
zishanjcommented, Mar 14, 2018

@naushad-madakiya Using with Dagger does not run the job after you close the app unless you have started the job from Application.onCreate. That github example have this issue because he is running it from Activity.onCreate(). Just thought to let you know about this issue. 😃

0reactions
vRallevcommented, Apr 20, 2018

Closing because of inactivity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Background Work with Android Job and Dagger - Annyce Davis
Android Job works by first allowing you to define how you want your jobs to be created, by means of the Job Creator...
Read more >
Dagger hilt with room and job scheduler - Stack Overflow
I want to locally store data in absence of internet connection and thus am using job scheduler to schedule my syncing.
Read more >
Ink & Dagger Tattoo is actively seeking a Studio Associate to ...
As an Ink & Dagger Tattoo support staff member, your primary responsibilities include artist support, client communication and scheduling, and daily studio ...
Read more >
27 Best Freelance Dagger Developers For Hire In October 2022 ...
Check out Dagger developers with the skills you need for your next job. ... App Arena using following processes daily for development: Project...
Read more >
Join our Team - Ink and Dagger
We currently have 1 open position for a TATTOO ARTIST. TATTOO ARTISTS: If you'd like to express your interest in working at Ink...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found