Hello,

Did you click on "Schedule" for the job to be active, after you created it ?

To call it in Groovy I believe you can make something like:

xwiki.mailsender.sendTextMessage(...)

Jeremie

2010/3/4 Thilo <ch...@gmx.de>

>
> Hello,
>
> I want to setup the Job Scheduler to send me an E-Mail every day to a
> specific Adress.
>
> But when i entered the following code of the MailSenderPlugin into the Job
> Script Field, i get only one Message when I save the job and not every Time
> the Job is fired. What am I doing wrong?
>
> THe Code is:
>
> sendTextMessage("Sender","m...@email.com","Subject","text....")
>
> I know that the script should be written in Groovy, but I dont know how.
>
> Thanks for your help.
> --
> View this message in context:
> http://n2.nabble.com/E-Mail-Notification-by-Scheduler-Job-Script-tp4676911p4676911.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to