• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Resolved How to remove zip files in specific folder in my hosting by cron job?

iGraphics

Basic Pleskian
How to remove zip files in specific folder in my hosting by cron job?

I want to remove zip files in specific folder every day at 5:00PM
 
There are many ways to handle this. With PHP, Python, Bash Script - call the script by cron and the script should handle the deletion for you.
 
The most simple solution is probably to run a command like
rm -R -f /<path-to-files>/<filename-pattern>
 
Back
Top