- This topic has 1 reply, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP PDF Stamper › Automatic Bulk Delete Option – Delete files older than "hours"
This option only allows to delete files older than a set number of “Days”. However, on the website I’m working on, hundreds of files are generated every day. I need to be able to delete files older than a set number of “Hours”. For example, I want to delete all stamped files older than 2 hours.
How do I do this?
Thanks,
Jc
The hourly granularity is not that accurate. You can’t rely on it due to the way WordPress’s cronjob works.
One day is the lowest you can go. Most hosting providers offer unlimited hosting these so you really shouldn’t have an issue with some files staying there for a few extra hours.