I am trying to run a script via crontab in cygwin. I have set up the cygwin to run the cronjob. It is working for copying files from one directory to other etc. Here is what I am trying to do.
I have a directory full of .tar files.
I am trying to untar them all at a time. To do that I have written a script called mytar.sc that looks like:
for a in *.tar; do tar -xvf $a; done
If I try to run this script directly from the command line as:
/cygdrive/c/bin/CYGWIN/home/urmiss/mytar.sc
it works perfectly by untaring all the .tar files. But I have to add that in my cronjob. So I have edited my crontab with this line as:
Bookmarks