Can Database Cleanup schedule automatic PrestaShop cleanup with cron?
No. Database Cleanup is a manual, back-office tool. You open the cleanup screen, see a live count for each task, old abandoned carts, old search statistics, expired specific prices, old logs, connection and guest data, mail logs, and run one task or all of them on demand. There's no cron endpoint, so nothing runs on a schedule by itself.

That's deliberate: it lets you review exactly what will be deleted and how much before you commit, which is what you want for one-off cleanups and after big imports. The common mistake is expecting it to keep the database tidy on its own. It won't; you have to come back and run it.
If you want cleanups to run automatically on a schedule, that's Cleanup Revolution instead, it includes cron automation (for example a daily database cleanup and a weekly table optimize) plus audit logging. So: pick Database Cleanup for hands-on manual runs, and Cleanup Revolution when you want it scheduled and hands-off.
In code, Cleanup Revolution registers three cron tasks: db_cleanup daily at 03:00, file_cleanup daily at 03:30, and table_optimize weekly at 04:00. Database Cleanup does not register those tasks and does not expose a cron URL, so copying a Cleanup Revolution cron command into Database Cleanup will not make the manual module scheduled.
For setup details, use the Cleanup Revolution cron setup documentation from the Cleanup Revolution product/support page: Cleanup Revolution.
Was this answer helpful?
Related products
Still have questions?
Can't find what you're looking for? Send us your question and we'll get back to you.