ScheduleStatement ::= |
schedule ( absolute )? ( ( starting | after ) Expr )? ( repeat Expr )? SimpleBlock ( listen on Expr ( title Expr )? SimpleBlock )? |
Used by: |
This statement schedules one-time or repetitive (with the repeat keyword) actions;
the actions can be anything. The action can be scheduled to start at a specific moment via
the starting clause, or wait for a period by the after clause. The absolute
decorater signifies that the time need be absolute or not; see javadoc for the
java.util.Timer
class.
For repetitive scheduled actions, this statement supports a built-in HTTP interface
to interact with the job if the whole listen on port section is present.
The scheduled job, including user input via the browser, is represented by the built-in
singleton variable