Giter VIP home page Giter VIP logo

Comments (6)

ouqiang avatar ouqiang commented on August 17, 2024
  1. 如果一个服务器需要普通账号定时任务,那么就用普通账号身份去启动gocron-node??
    用账号A启动gocron-node, 运行任务也是账号A

  2. 有的服务器既有root任务,又有普通账号任务
    用root用户启动gocron-node
    以其他用户身份运行任务 runuser - user -c command

from gocron.

jagerzhang avatar jagerzhang commented on August 17, 2024

get 到了,多谢解答。
另外咨询下,goron和gocron-node之间的通信是私有协议鉴权吗?node的安全性是否有较好的保障?

from gocron.

ouqiang avatar ouqiang commented on August 17, 2024

gocron和gocron-node通过RPC通信, 目前没有做鉴权, 所以不能对外暴露,后期会加入token鉴权。

from gocron.

jagerzhang avatar jagerzhang commented on August 17, 2024

好的,期待后续的改进。

from gocron.

jagerzhang avatar jagerzhang commented on August 17, 2024

赞!
https主要是解决数据被抓包分析的问题。我还担心另一个问题,就是其他人如果知道主机和客户端的通信协议,是不是可以其他任务?因为没有鉴权

from gocron.

ouqiang avatar ouqiang commented on August 17, 2024

接下来会加上token鉴权

from gocron.

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.