Scheduling the Tasks - Examples
Start a graph at specific time
This example shows scheduling the start of a graph at specific time.
-
In the Scheduling section of the Server GUI, click on the New schedule button.
-
Enter a Schedule name.
-
In the Periodicity drop-down list, choose Onetime to start the graph just once.
-
Enter Start time. Use the calendar to enter the required date and time in a correct format.
-
In the Task type field, choose Start a graph.
-
Select a Sandbox and a Graph within the sandbox.
Start a Jobflow once an hour
This example shows scheduling of a periodic task.
Create a new schedule that runs the UserStats.jbf jobflow from the reports sandbox once an hour.
-
Enter a Schedule name.
-
In the Periodicity drop-down list, choose Interval.
-
Enter the interval between two jobflow starts in the Run every field. In the drop-down list, you can choose between seconds, minutes and hours units.
-
The task will be started once an hour within a specified time period. Enter the beginning and end of this period in the Active from to fields.
-
Select the Sandbox and Graph.
Complex Scheduling
This example shows a complex scheduling using a cron expression.
Start a graph WeekendGraph.grf every Saturday and Sunday at 22:15.
-
Enter a Schedule name.
-
In the Periodicity drop-down list, choose Timetable.
-
Edit the Cron expression field. The expression for every Saturday and Sunday at 22:15 is
0 15 22 ? * 1,7
. -
In the Task type field, choose Start a graph.
-
Select the Sandbox and Graph.