Hi Paddo,
My Mistake, the log viewer doesn't fire but if you choose "Log to Console" from the control panel you'll see the output when the schedule fires
Here's some code from a very similar shedule test I did which works.
1) set up the schedule on the schedule tab
2)Click on the standard or textual form tab and you'll see the code Aware generates. Mine is
If CURRENT_TIME='12:00' AND CURRENT_DATE>=18/02/2009 AND CURRENT_DATE<=22/02/2009 Then
SendTestMail
SendTestMail is the name of a process All of this is done automatically
SendTest Contains the following
First - on the opening tab, 'Members' is NOT in the right hand 'For this process' Column because the "Send" command is actually in the rule collection that performs the action on the context. If you put the SEND command in a separate process, you will need (in your case) "Revision" in that column
Then - in the Textual rules tab, there are just 2 lines,
Find Members WHERE [your query string]
Send Testmail to Members
I did a bit of frigging - and here's some possible output from the console log
2009-03-20 10:10:46,359 -24 Starting execution of rules when creating notification TestEmail
2009-03-20 10:10:46,375 -16 Finished execution of rules when creating notification TestEmail
2009-03-20 10:10:46,390 -17
2009-03-20 10:10:46,406 -17
2009-03-20 10:10:46,421 -16 Finished executing process SendTestMail
2009-03-20 10:10:46,437 -17
2009-03-20 10:10:46,468 -17
Send failed exception thrown Sending failed;
nested exception is:
class javax.mail.MessagingException: 421 dns lookup failed for sender domain
Next exception is javax.mail.MessagingException421 dns lookup failed for sender domain
2009-03-20 10:10:47,062 ERROR -Unable to connect to remote host auth.smtp.1and1.co.uk
You'll see that even though the mail got processed ok, the mail did not go because there was a sending problem (in this case I deliberately clobbered the password
If your actual process fails there will be some indication as to why in the console output. Again, "Here's one I made earlier" - as all the best TV chefs say
2009-03-20 09:55:46,515 ERROR -'To' address is not specified in the email. Email will not be sent.
I think it will be all down to the same thing that tripped me up. When to put something in the "For this process" column and when not