Code Monkey home page Code Monkey logo

Comments (4)

mtakaki avatar mtakaki commented on July 24, 2024 1

I would recommend you using docker for this, instead of running like this. But if you really want to run it without docker, you can just execute it in the background:

python cachet_url_monitor/scheduler.py config.yml &

But how you gonna monitor the process? The moment you close the shell, the process will be killed too. You could use screen and keep the process up, but now you have to deal with servers restarts, server shutdown, etc. You can also use nohup or create a service, but now it's more effort than installing docker in your server.

from cachet-url-monitor.

psudoorg avatar psudoorg commented on July 24, 2024

@mtakaki - thanks for this. I think it solved my issue; although, I'm not sure if I'm using it right -
sudo nohup python cachet_url_monitor/scheduler.py config.yml
I believe this command expects an "output" file too but given that I've not specified any, it makes one automatically!

from cachet-url-monitor.

mtakaki avatar mtakaki commented on July 24, 2024

@psudoorg that looks about right, but if I were you I would just run it with docker.

from cachet-url-monitor.

mtakaki avatar mtakaki commented on July 24, 2024

I'm closing this ticket, but please feel free to reopen it if you still have any question.

from cachet-url-monitor.

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.