Addition of a new parameter to the options that the created date can be passed in through the drush command, so we can get just the items that have been created in the last X hours
So for example to get the posts on a blog created in the last hour the commnd would be
drush cacheconv-create preset --type=blog --created=24 --limit=20
This would get us the last 20 blog posts that were created in the last 24 hours?
Comments
Comment #1
pobster commentedHaha! I've already written something similar to this somewhere, I don't appear to have made a release for it though... I'll dig it out tonight...
Pobster
Comment #2
pobster commentedDone, change the Hudson job to;
--custom="created > UNIX_TIMESTAMP(DATE_SUB(CONCAT(CURDATE(), ' 00:00:00'), INTERVAL 2 DAY))"
Everything since midnight day before yesterday - you might possibly want to comment out the enforced LIMIT in the drush include as well.
Pobster