https://bugs.winehq.org/show_bug.cgi?id=57757
Bug ID: 57757 Summary: Cron not running - add dryrun feature Product: WineHQ Apps Database Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: appdb-unknown Assignee: wine-bugs@winehq.org Reporter: jnewman@codeweavers.com Distribution: ---
I noticed the ./cron/cleanup.php script was not configured to run daily anymore. This should be resetup, but I want to be sure it works first before doing so.
In order to do so, it needs --dryrun command line option to the script that will just report on the tasks it will complete. This way I can test that it works. It should do everything but change any database rows, and avoid sending email.
I noticed it is currently setup to email the appdb admins of every run. Instead the cron script should save a log somewhere. Possibly to a db table. Logs older than 30 days could get auto purged.
Are we purging stale accounts? I know it purges maintainers, but does it also purge deadbeat accounts? Perhaps the system considers every user a maintainer. Verify and let me know. Currently there are over 90K accounts, so getting that table down a bit should help performance.