Hi AIl,
I have to scheduled a background job which will move a file from source directory to archive directory with a timestamp added to the file. So I am using transaction - SM69 to define an external OS command which will be used for job scheduling and details are as follows.
cp /source/file1.txt /archive/file2--`date +%Y-%m-%d_%H:%M`
But while executing the command its throwing following error --
<< cp: target `+%Y-%m-%d_%H:%M`' is not a directory External program terminated with exit code 1>>
the same command is working perfectly with RSDB2CMD report, can any one know the reason of this error?
Cheers,
Raks
Edited by: Raks on Jan 26, 2009 10:21 AM