Closed michaelnguyen2021 closed 6 years ago
audit follows yii guidelines in this matter, you can use the --interactive=0
option that is available for most commands
For anyone else stumbling upon this...
There's now:
yii audit/cleanup --entrySolo
which cleans up only entries without attached data.
I setup a cron job that do cleanup everyday.
The cleanup script requires user input to proceed
Cleanup the above data? (yes|no) [no]:
How do I do that with cron ?