Originally Posted by phinzola1
which rm gives me /bin/rm
No I dont want to redirect.I just want to delete the directories and its subdirectories completely.
I can see u use echo.I thought you said i must not use echo
i'm using echo
to prevent it from removing important files on my pc (it is meant for testing purposes to show you that cron is running every 15 minutes).
can you please run this command and paste the result in your next response:
i dont mean to undermine your competence, but are you sure you are waiting until after 15, 30 or 45 minutes past the hour to check that the files are removed while using cron
edit: check it out... i modified my crontab to delete the file that was created 30 minutes ago:
[schneidz@hyper stuff]$ crontab -l
15,30,45 * * * * /bin/rm -rf /home/schneidz/cron.test
[schneidz@hyper stuff]$ ll /home/schneidz/cron.test
ls: cannot access /home/schneidz/cron.test: No such file or directory