crontab 脚本没有执行,该如何解决

crontab 脚本没有执行
我用的是ubuntu
我在/etc/crontab里面增加如下:(每2分钟执行脚本test.sh一次)
*/2 * * * * /home/123/share/456/test.sh



但好像脚本test.sh都没有被执行。

脚本内容如下:
#!/bin/sh

make


我直接运行./test.sh是可以执行的。
我也有重新启动crontab:
test@ubuntu:~$ /etc/init.d/cron start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start cron

------------------------------------------------------------------------------------------------------
test@ubuntu:~$ /etc/init.d/cron restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop cron ; start cron. The restart(8) utility is also available.
stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.34" (uid=1000 pid=10073 comm="stop cron ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")

状态如下:
test@ubuntu:~$ sudo service cron status
[sudo] password for test: 
cron start/running, process 7214



------解决思路----------------------
2 * * * * /home/123/share/456/test.sh


------解决思路----------------------
跟执行路径有关系,你再test.sh里面先用cd跳转到指定目录在执行make就行了。
crontab执行时的路径并不是test.sh所在目录的路径。
大概改成这样就可以了

SYS_DIR=$PWD
cd /home/123/share/456
make
cd $SYS_DIR