Avamar: ADMe - Custom Job Scheduling Script

Resumen: The purpose of this script is to provide an automated process to schedule an ADMe job policy. This policy must be initiated based on a given day of the week and the day instance within the month and whose calendar date by default changes month to month. ...

Este artículo se aplica a: Este artículo no se aplica a: Este artículo no está vinculado a ningún producto específico. En este artículo no se identifican todas las versiones de los productos.

Instrucciones

If the requirement was to run an ADMe job on the first Saturday of the month throughout the year, its associated calendar date varies month to month requiring manual scheduling updates to accommodate. If you were to specify a date range to cover the first seven days and want the job to run only on Saturday where the day of the week value of 6, then use see example below. This results in the job being performed each day within the date range regardless of the day of the week specified as CRON treats these parameters as a logical OR condition compare with the wanted logical AND condition.

30 09 1-7 * 6 /usr/local/avamar/bin/adme -batch admbatch-lnxfs01.cfg >/adamk.log 2>&1

This script overcomes the above challenge allowing the definition of custom scheduling requirements containing the following criteria in a custom flag file.

Field Definitions:

Fld-1 Day of the week Instance  = 1|2|3|4|5
Fld-2 Day of the Week           = sun|mon|tue|wed|thu|fri|sat
Fld-3 Start Time Hour           = HH
Fld-4 Start Time Minute         = MM
Fld-5 ADMe Jobname              = (example admbatch-winfs01.cfg)

Manually enter a call to the script into the root crontab to perform shortly after midnight on the first of the month. The script automatically determines a jobs execution date and time from the flag file, and the revised schedule date and time is reflected in the ADMe Web-UI relative to your current month. This update process takes place automatically at the beginning of each month.

See the attached pdf for details on setup and configuration.
The script file admesched.sh is included with the ADMe tar ball and is located in /home/admin/admeadmin/tools folder.

 

Productos afectados

Avamar Data Migration Enabler, Avamar Server

Archivos adjuntos

admesched_pkb_en_US_1.pdf

Propiedades del artículo
Número de artículo: 000195665
Tipo de artículo: How To
Última modificación: 13 jun 2025
Versión:  5
Encuentra las respuestas que necesitas con la ayuda de otros usuarios de Dell
Servicios de asistencia
Comprueba si tu dispositivo está cubierto por los servicios de asistencia.