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.

Error: Job "email" is already running

See original GitHub issue

Hey,
After some day using and running the job, when I try to run my dev environment node bree.js I get Error: Job "email" is already running, the strange thing is that a I kill all node process and I reestart my machine and looks like the worker is start running when start my pc, any idea how to fix that?

Error: Job "email" is already running at Bree.run (C:\...\node_modules\bree\index.js:571:11)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
niftylettucecommented, Aug 17, 2020

You can reference https://github.com/breejs/express-example if you need. There is also usage example in the README.

1reaction
niftylettucecommented, Aug 17, 2020

There is a syntax error in the snippet you shared.

You have an extra catch which should be removed:

          await fs.promises.writeFile(
            queueFile,
            JSON.stringify(currentQueue.filter(Boolean))
          );
        } catch (err) {
          cabin.error(err);
        }
-       } catch (err) {
-         cabin.error(err);
-       }
    })
  );
Read more comments on GitHub >

github_iconTop Results From Across the Web

jepp email processor already running error
The processing is the problem. It currently works randomly and processes the emails between 15 and 35 minutes. I have JIRA Software 7.3.4...
Read more >
"Failed to register a new system job instance" error when ...
To confirm that an instance of the job is still processing, go to Admin > Monitor Jobs > Running tab and check whether...
Read more >
Trigger a job only if it's not alredy running - Orchestrator
Hi, I have a job that needs to be triggered every minute but if the job is already running I got an email...
Read more >
Error occurs when you send or receive an email message in ...
Sending and Receiving reported error (0x8007000E): Out of memory or system resources. Close some windows or programs and try again. To resolve this...
Read more >
How can I handle an error for sp_job_start? - Stack Overflow
This is at the bottom of the triggers but if the triggers were initiated at the same time, it still errors out with...
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