Add configuration option to allow cleanup on cron run

Created on 27 April 2016, almost 9 years ago
Updated 28 March 2025, 12 days ago

Although the Drush comand is very useful, the option to run the cleanup on cron runs combined with modules like Elysia Cron would add more flexibility to the module.
As far as I can think of, this is what would be needed:
- A configuration checkbox (default to off) to toggle cleanup on cron runs.
- A hook_cron().
- (Optional) Add a watchdog() call to code in case it is not run under Drush (not drupal_is_cli()).

Anything else needed?

✨ Feature request
Status

RTBC

Version

1.2

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain amontero Barcelona

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024