Running remove rm command using cron
by rajesh[ Edit ] 2014-02-14 12:03:01
Go to terminal and run the following commands
crontab -e
In the resulting editor add below line
*/10 * * * * rm -rf /path/of/the/folder
This will remove all the content in the folder, incuding the folder once every ten minutes.
Note: Do this only if you are sure of what you are doing.