Creating a Schedule

From SEPsesam
Jump to: navigation, search

Copyright © SEP AG 1999-2017. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3. For previous documentation version(s), check documentation archive.


Overview

SEP sesam schedules represent a framework for automating task execution. Different events, such as backup, migration, replication, restore, etc., can be linked to a schedule and configured to occur at a specified time.

A schedule defines the recurrence of an event and may be executed in minutes, hours, days, months or years. It can be set up to start periodically or to be executed once only. A schedule can be used for any number of events and the events of a particular task (backup, restore, migration, etc.) can can be configured in several schedules. All schedules and related jobs are configured and run in the SEP sesam Server's time zone.

Schedules always contain one predefined task: a NEWDAY schedule, which is linked to a NEWDAY event. SEP sesam uses the NEWDAY event to reorder its database, enable uninterrupted activity of the SEP sesam processes and to define a new backup day. Do not deactivate a NEWDAY event or delete a NEWDAY schedule, because this will cause SEP sesam to stop working properly! For details, see NEWDAY event.

The options for creating a SEP sesam schedule differ slightly depending on your SEP sesam version. Version 4.4.3 provides a few additional options such as user-defined dates (custom calendar). For details on its use, see Creating Custom Calendar.

> Creating a schedule with v. 4.4.3

> Creating a schedule with v. 4.4.2

SEP sesam v. 4.4.3

  1. From Main Selection -> Scheduling -> Schedules, click New schedule. The Schedule window appears.
  2. By default, the Execution is already enabled. Use this option to activate or disable the schedule. If you deselect the execution option, all events that are linked to this schedule will be deactivated. You can deactivate a schedule if you want to exclude scheduled jobs to run on specific days, such as holidays. For more details, see Creating Custom Calendar.
  3. In the Name field, enter the name for the schedule.
  4. Specify the time range and start time for the schedule in the Start field. Click the arrows in the date field to display a calendar. By default, the current date is already entered. In the next field, specify the start time, e.g., 18.30. All events related to this schedule will be started at the time defined by this parameter. Keep in mind that the actual start time depends on the processor load of the system. At the starting time of the event, every event is forwarded to the queue, where it may have to wait until jobs with higher priorities are completed. For jobs with the same priority, the FIFO rule (first in first out) applies.
  5. If you want your schedule to be valid for a limited period of time only, e.g., until the end of the year, check the Expiration date option and enter the date of its suspension. The schedule will be deleted after the Expiration date criterium is met. By default, this option is disabled and the schedule will be repeated in perpetuity.
  6. The table provides a selection of different time parameters to configure the time intervals for scheduled jobs. Jobs can occur once or recur daily or yearly. For example, you can schedule a full backup to take place every Friday at 18:00. From the tabs on the left, select one of the following:
    • once - no repetition, single run
    • daily - repetition in days, hours or minutes
    • weekly - repetition in weeks or weekdays
    • monthly - repetition on absolute or relative dates: 1st/2nd... or Mon/Tue...
    • yearly - repetition on absolute or relative dates
    • user-defined - option for setting up a custom calendar. Available on SEP sesam v. 4.4.3 or higher. See Creating Custom Calendar for details.
  7. Under Advanced settings you can further refine your schedule.
    • Optionally, use the Start time frame if you want to define the maximum allowed startup time for your event. Specify the startup time in days and/or hours. If the event cannot be executed within this specified time frame, it will not be executed at all. If this option is not enabled, the allowed start time of the task is not limited and a job can be started at any time when the resource is available.
    • You can also specify a time frame for repeating the event. Check the Repeat task box and choose how often (in hours and minutes) the task should be repeated. Use the For a duration of parameter if you want to specify the duration of the repeated event (days and/or hours).
    • Optionally, you can specify the time frame after which the scheduled event will be cancelled by checking the box in front of the Stop task if runs longer than option and specifying the amount of time (in days and/or hours) following the event's scheduled start time after which the event will be cancelled.
    Schedule-user defined 10.png


  8. Click OK to save the schedule.

SEP sesam v. 4.4.2

  1. From Main Selection -> Scheduling -> Schedules, click New schedule. The Schedule window appears.
  2. By default, Execution is already enabled. Use this option to activate or disable the schedule. If you deselect the execution option (No), the schedule will still be displayed as shaded in the list of schedules but all events linked to this schedule will be deactivated.
  3. In the Name field, enter the name for the schedule.
  4. The Cycle table provides a selection of different time parameters to configure the time intervals for scheduled jobs. Jobs can occur once or recur daily or yearly. For example, you can schedule a full backup to take place every Friday at 18:00. From the tabs on the left, select one of the following:
    • once - no repetition, single run
    • daily - repetition in days, hours or minutes
    • weekly - repetition in weeks or weekdays
    • monthly - repetition on absolute or relative dates: 1st/2nd... or Mon/Tue...
    • yearly - repetition on absolute or relative dates
  5. Under the Period of validity, specify the time range for the schedule. Click the arrows in the date field to display a calendar.
    By default, the current date is already entered in the Begin field. You can specify any date as a start time for your periodical event. The schedule will only be activated after the specified date and there can be no execution prior to this date. If you want your schedule to be valid for a limited period of time only, e.g., half a year, check the End field and enter the date of its suspension. By default, this option is disabled and the schedule will be repeated in perpetuity.
  6. Under the Start time frame, select the start time for your schedule – all events related to this schedule will be started at the time defined by this parameter. Keep in mind that the actual start time depends on the processor load of the system. At the starting time of the event, every event is forwarded to the queue, where it may have to wait until jobs with higher priorities are completed. For jobs with the same priority, the FIFO rule (first in first out) applies. You can also limit the start time by specifying the Duration. This option specifies the amount of time in days and/or hours for which an event can be in the queue. If the event cannot be executed within the duration time frame, it will not be executed at all.
  7. New schedule bck weekly.png

  8. Click OK to save the schedule.