Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
You can do it with both GD or ImageMagick... so quite probably via Intervention too
Is there any way to calculate programmatically how dark an image is? (Like a value between 0 and 100 0=WHITE 100=BLACK)
@sander_ha That's the right way. Just sends the output of the command to a black hole
@Alessandro Carpentari has joined the channel
Hmm I could do this and it gets muted, not too sure what it exactly does thoug..
- dev/tasks/ProcessJobQueueTask queue=2 >/dev/null 2>&1
I'm using https://github.com/symbiote/silverstripe-queuedjobs with cron to run some tasks. The queuedjobs task gives an output though. Is there a way to silence the task when used in cron?
2 minutes for 300.000+ messages from a Slack Import is not a bad result I'd think. But I think I can do it faster. /performance
300k messages... time to import after optimising:
- took 0:02:10.195562
- 2018-09-28 17:09:14
@wilr I'm using version 1.0.0, using messagequeue, and the manual task hasn't worked so far. I've tried running it a few times, but there's been no change in the queue, all emails are marked as scheduled.