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.

Feature Request: Manual start of a job

See original GitHub issue

Is it possible to add an API to the scheduler to run an existing job. For example: a periodic task is scheduled every day. I’d like to give the ability of the user of start this job manually whenever it wants. If it is a long task and max_instances=1 is set, for instance, let if it was started by the normal schedule, at max 1 instance is started and any time.

Example:

scheduler.schedule_job(job_id)

Ref: #241

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:6
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gsemetcommented, Nov 13, 2017

and a stop_job to interrup a running job (probably not the same as pause/unpause, which only impacts the scheduler)

1reaction
agronholmcommented, Nov 13, 2017

I’d rather name it start_job() but otherwise this is fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use manual jobs with `needs:` relationships - GitLab
The needs keyword creates a dependency between the two jobs, so job10 runs as soon as job1 finishes running successfully, regardless of the ......
Read more >
How to Manage Product Feature Requests – 6 Best Practices
A feature request is an idea a customer sends your way to make you understand how he's using your product, and what he...
Read more >
Feature request tracking: Guide, tools & best practices - Beamer
Feature requests are feedback forms that customers can fill out to ask for new features or suggest improvements to existing ones.
Read more >
Feature request tracking: 3 strategies to do it better
Option 1: Track feature requests manually. If you're a small and financially-challenged startup, a Google sheet could work. Or you could use ...
Read more >
3 ways to manage software feature request - Amoeboids
When users' pain points are not addressed, they sometimes start the request process by asking for a feature through conversations with an account...
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