Quote:
Originally Posted by
Corona688
First off, add echo before rm. Never ever ever run a batch deletion script you haven't tested.
This is suppose to run as a crontab.
I had use this command with
rm -i option and it all looked good in the first run.
Could be my crontab tab is running in the background and its is deleting the files and when i run it manually it does not find the file .. .thats my wild guess. But how can i confirm ?
ps -ef | grep purge.sh
does not yield any results where purge.sh has that find and remove command i post in the OP; to show that the BG process is running or maybe there is a problem with the ps command
Not sure what has happened now ?