I have a Shell script like below
echo "Hello World"
The script is located in /root/scripts/
folder as test.sh
I also created a cron job like below
0-59 * * * * ./scripts/test.sh
Now the cron job is not printing the content in test.sh
every minute.
Let me know whether I have given a wrong directory or I have any other problem in my code.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…