我的 cron :45 10 * * * source /home/ThinkCode/Test/hello.sh hello.sh:#!/bin/bash echo "helloworld" 它发送给我的错误消息:/bin/sh: source: not found 我做错了什么?这是与配置/环境有关的问题,因此谷歌搜索并没有太大帮助!谢谢..
SHELL=/bin/bash
。 - Jeff Wu