EmailSummary Plugin, when are the mails sent?

So i added
addPlugin('EmailSummary');
to my config.php and it seems to kinda have worked (under settings -> email) users can now check "Send me a periodic summary of updates from my network".

But at what times are the mails actually sent out?
Or do if have to trigger that manually (or through a cronjob) every time by invoking sendemailsummary.php?
If so, why is there no documentation in the plugin on that kinda crucial part?

Comments

  • I would also like to use this. Please advise.
  • Please advise on this
  • Is there anyone who works for Statusnet on this forum?
  • You have to trigger it through a cron job.

    Julien
  • @julien_c What do you run? Which file do you call? and do you know the parameters that are needed?
  • I have tried from ssh to see if i can get this working, i have tried the following "bash sendemailsummary.php" and "bash sendemailsummary.php -a" and "bash sendemailsummary.php -a --all" and all of the things i try say this:

    sendemailsummary.php: line 1: ?php: No such file or directory
    sendemailsummary.php: line 2: /bin: is a directory
    sendemailsummary.php: line 3: EmailSummaryPlugin.php: command not found
    sendemailsummary.php: line 4: syntax error near unexpected token `('
    sendemailsummary.php: line 4: ` * Copyright (C) 2010, StatusNet, Inc.'
    @julien_c or @evan please help?
  • Ok, here is how you do this. You can do this via ssh or cronjob. just run this command go to the directory and run "php sendemailsummary.php" and it send out a beautiful HTML or text email to your users for all the updates that have been done.
  • hope that helps @icyerasor
  • Hi, yeah i already figured that out. I was just astonished that this is not documented anywhere in the plugins readme.
    Thx @TweXXX anyway for verifying that invoking sendemailsummary.php is the thing to do.
  • Yup, i think we have support ourselves on this forum.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID