Lando is a Docker based developement environement. Read more at Lando.dev
This script is cleaning your Lando installation from old unused images. It is also perform lando destroy in all folder older than XX Days
- Rename
conf-sample.php
toconf.php
- DIR constant is the full path to your lando folder
- KEEP_ALIVE is an array of folder you do not want to destroy
php clean-lando.php
command will launch it
Adding this line in your crontab -e
(Linux) will run it at each reboot
@reboot /usr/bin/php /path/to/clean-lando.php