Changing .sh file dynamically
Hello,
I have written a servlet that moves specific amounts of file from 0* folder to * folder (01 to 1) and process these files. I made a .sh file and inserted in cron task to run it after every one hour. There are 12 folder on location of my server /home/savedCVs/ i.e. 01 02 03 04 05 06 1 2 3 4 5 6 My .sh file: Code:
wget -q "http://www.myDomain.com/servlet/Variable?category=1&folderId=01&noOfFiles=212" Thanks in anticipation |
You could use something based on find's -empty flag.
For example, Code:
dir_number=1 |
Thanks a lot
Best regards |
All times are GMT -5. The time now is 12:01 PM. |