我曾尝试使用 crontab,但仅限于几分钟。还有其他选择吗?
我也尝试过类似的事情:
watch -n 1 sh /path-to-script/try.sh
但是每当我关闭终端时它就会停止。我想要一些在后台持续工作的东西。
shell scripting shell-script watch
scripting ×1
shell ×1
shell-script ×1
watch ×1