我的crontab的全部内容是:10 23 * * * cd /home/disk4/2; ./daily_build.sh
我是先切换到./daily_build.sh的目录下面的。
log打了不少。一到了:下面就断了。
echo "*************************************************************************"
echo " Process_with_no_tag.sh is called!"
echo "*************************************************************************"
# Display the current time cur_time=`date "+%Y-%m-%d %H:%M:%S"`
echo "Current time is: $cur_time"