Add cron job
0 * * * * find /home/admin/tmp/ -name "sess_*" -mtime +1 -exec rm {} \;
this will run every hour and erase any data created in tmp folder and it is one day old.
Modified on: Fri, 20 Nov, 2020 at 1:03 AM
Add cron job
0 * * * * find /home/admin/tmp/ -name "sess_*" -mtime +1 -exec rm {} \;
this will run every hour and erase any data created in tmp folder and it is one day old.
Did you find it helpful? Yes No
Send feedback