是否可以使用 bash 而不是 sh 在 crontab 中运行命令?我知道您可以使用 将命令传递给 bash -c,但这很烦人,而且我从不使用 sh。
-c
shell cron
cron ×1
shell ×1