I was trying to learn about crontab. I tried to execute shell script using crontab. But I did not get the expected result.
When I use crontab,
38 17 * * * bin/sh sh /home/agalya/unix/digiclock.sh
I can’t execute the shell script.
when I use ‘at’ command also I did not get the output.I have a doubt whether I have given the path of shell script correctly.How should I give the path?
~$ at 17:25
warning: commands will be executed using /bin/sh
at> /bin/sh sh /unix/digiclock.sh
at> <EOT>
job 9 at Sat Feb 20 17:25:00 2016
I am sure that the file has executable permission.