Code Monkey home page Code Monkey logo

Comments (7)

muscle-rhnkyr avatar muscle-rhnkyr commented on May 18, 2024 3

Did you guys try on app/kernel.js :

const Kue = use('Kue');
Kue.listen();

from adonis-kue.

wemersonrv avatar wemersonrv commented on May 18, 2024

Hi. I am unable to go production because cannot automatically starts the jobs in PM2. What's wrong ?

If run pm2 start adonis kue:listen inside my project folder, it works... but if i try to use it automatically in a PM2 process file to make it automatic, not works.

from adonis-kue.

vigikaran avatar vigikaran commented on May 18, 2024

https://github.com/ahmadarif/adonis4
Refer this, might helpfull

from adonis-kue.

MorenoMdz avatar MorenoMdz commented on May 18, 2024

Thanks @vigikaran, I need something that allows me to run pm2 with adonis kue:listen as well if possible, the conf you passed may be a solution otherwise.

from adonis-kue.

ebnersilva avatar ebnersilva commented on May 18, 2024

Any updates on this?

from adonis-kue.

MaissonTi avatar MaissonTi commented on May 18, 2024

@ebnersilva use the command pm2 start ./ace -- kue:listen

from adonis-kue.

rhadamez avatar rhadamez commented on May 18, 2024

The @muscle-rhnkyr ideia almost solved my problem, it only breaks my github actions. Don't know why.

The command pm2 start ./ace -- kue:listen return "[PM2][ERROR] Script not found" (I'm in the right folder). The solution works, but it breaks my CI, dont know why. Any solution?

from adonis-kue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.