微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

使用节点计划并在守护程序时提示

如何解决使用节点计划并在守护程序时提示

prompt.start();

prompt.get(zooMeets,function (err,result) {
    if (err) {return onErr(err); }
    module.exports.math = result.math;
    module.exports.spanish = result.spanish;
    module.exports.science = result.science;
    module.exports.la = result.la;
    module.exports.geography = result.geography;
    module.exports.hand = result.hand;
    module.exports.psyche = result.psyche;
    module.exports.lsgi = result.lsgi;
    module.exports.music = result.music;
    module.exports.pe = result.pe;
    module.exports.tech = result.tech;
});

我正在尝试制作一个程序,该程序打开一个应用程序并从终端获取输入。这个想法是它将与提示模块ONCE取得链接,然后将它们放入守护进程中,在该进程中它将使用节点计划来打开链接。我不知道是否还有其他方法,所以请告诉我。 我还使用pm2来守护进程。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。