Re: [xwiki-users] Receive an email every hour
I think depending on xwiki version you use, that you can use the watchlist feature. Simply go to your "Forms" space, and in the space menu (top of page) choose "watch". Then in your own profile, in "watchlist" part, select that you want to be notified every hour. I think you won't receive emails only for new documents created, but also for updated documents. But if there is no update, you won't receive email at all. If it does not match your need you might need to use the Scheduler (Scheduler.WebHome) and create an hourly job to do that and do some scripting ... -- View this message in context: http://xwiki.475771.n2.nabble.com/Receive-an-email-every-hour-tp6847029p6858... Sent from the XWiki- Users mailing list archive at Nabble.com.
Thank you for your response. I look at the Scheduler and I think this is a first solution to my problem. I use in the groovy script, the function "xwiki.mailsender.sendHtmlMessage(...)", but is there a way to add a table in my email ? In fact, in my email, I want to receive a list of all new forms created. To know if my forms are just created or not, I have a parameters in my form's field that is "status" and when a form is created, his value is "new". So is there a way to receive a mail only when new forms have been created and how is it possible ? Thanks for your response. Best regards, Stéphanie -- View this message in context: http://xwiki.475771.n2.nabble.com/Receive-an-email-every-hour-tp6847029p6861... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
jerem -
Stéphanie