After each run of cron'ed script i get:
cp: cannot stat
But it does not state what line the cp is issued from. This is not clear as there is allot of variables that is created to determine the files.....
thx in advanced
asked 24 Jan '12, 06:47
Not sure about line numbers, but while you are debbuging it, perhaps ensure that the shell the script is run in (perhaps in its hashbang line) is started with -xv, so you can verbose debugging of what was going to be executed.
Referece for bash options - http://tldp.org/LDP/abs/html/options.html
answered 01 Mar '12, 04:26