我正在构建一个脚本,它将每5分钟运行一次,以检查是否某个数字已经增加: $newmax = '4' //this is the latest number由于它每5分钟运行一次,因此我需要查询$oldmax值,如果该最大值大于旧的值,则将其更新为$newmax值。
目前,我看到了使用MySQL存储$oldmax值的选项。但是,由于它只存储了一个数字,所以我发现在
: while [ -n $(eval "node $srcPATH/webrcon.js $msg 'world.rendermap'") ]; dodoneecho"Next code after the while loop after get the success echo on console" 退出脚本后还在继续,但他什么也没做,也没有退出。