Page MenuHomePhabricator

maintenance/cache.py: (Optionally) print output or result for -delete
Open, Needs TriagePublicFeature

Description

I run in a cron the rPWBC scripts/maintenance/cache.py regularly to keep the apicache-py3 folder clean of outdated cache files with just the -delete option (i.e. pwb.py cache -delete $HOME/apicache-py3). However there is no output and therefore no way to tell (other than to actually go to the cache folder) if the script worked or not. I think it could be useful that the script (optionaly?) actualy printed some error/success message for log verification purposes. Thanks.