I have a use case where it would be useful to know the last time a cron service ran. For example, getting a list of nodes that have been created since the last execution. It would be great if this module provided that functionality.
Issue fork cron_service-3393041
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
davisbenComment #4
jureth commented1. Why there's a check for ScheduledCronServiceInterface in getLastExecutionTime() ? As I understand the last time value is stored for every handler.
2. Technically, 0 is valid unix timestamp, so I'm not sure why getLastExecutionTime() shouldn't return null in case the value is missing.
Comment #5
davisbenI addressed the concerns in #4, and rebased against 2.0.x.
Comment #8
vasyl.kletsko commentedComment #9
vasyl.kletsko commentedLooks good now.
Comment #10
vasyl.kletsko commentedComment #11
vasyl.kletsko commented