Open markconroy opened 2 months ago
Closes #114
Currently this does very little - loads all events, checks if their end_date is passed by 30 days, then deletes them if so.
We need to do LOTS of work to get this to work properly
Create some events, run cron, you should get a dump() message to say what will/will not be deleted.
dump()
With localgov_demo content installed.
$ lando drush cron ^ "5 will be deleted" ^ "79 will be deleted" ^ "87 will be deleted" ^ "111 will be deleted" ^ "117 will be deleted"
Test, but do not merge
Closes #114
What does this change?
Currently this does very little - loads all events, checks if their end_date is passed by 30 days, then deletes them if so.
We need to do LOTS of work to get this to work properly
How to test
Create some events, run cron, you should get a
dump()
message to say what will/will not be deleted.How can we measure success?
Have we considered potential risks?
Images
Accessibility