cron作业开始运行后需要修改

发布于 2025-01-25 17:00:41 字数 169 浏览 0 评论 0原文

我有一个已经开始运行脚本的Cron工作。我在工作运行时对此脚本进行了更改。

Cron作业会继续运行旧脚本而不是新脚本是真的吗? 如果是这样,停止当前运行的cron作业并再次启动它,以便它运行新脚本会带来负面影响?

ps我不仅仅是因为问题是理论上的。但是,附加脚本至关重要,请让我知道。谢谢你!

I have a cron job that has already started running a script. I made changes to this script while the job was running.

Is it true that the cron job will continue running the old script rather than the new script?
If so, what can be the negative consequences of stopping the currently running cron job and starting it again so that it runs a new script?

P.S. I am not attaching the script just because the question is theoretical. But is it is crucial for the script to be attached please let me know. Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文