Schedule methods
There are two ways to schedule tasks in EC, the simple and advanced methods. Depending on what you need to accomplish, you can use any one of these method
-
Simple
This method is designed for simple schedules. Use this in a very defined manner. See this example:
Job requirement:
-
Execute a job at a given day in a week (day)
-
Repeat it a number of times in a week
-
Wait for <xx> seconds between executions
Action: Select the appropriate options in these fields:
-
Every month, on day
-
Every week, on day
-
Every day
-
Start time (hh:mm)
-
Duration (seconds)
-
-
Advanced (Quartz Expression)
This method lets you manage much more complicated scheduling for your job. It has a start time property and an optional end time. Use this method to schedule and execute jobs in a very flexible manner. See this example:
Job requirement: Execute a job at exactly 12 noon every day, except on a Sunday,
Action: Specify this information in the Advanced field:
12:00 p.m. every day, Monday through Saturday.