Avamar: ADMe - Custom Job Scheduling Script

Summary: 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. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

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.

 

Affected Products

Avamar Data Migration Enabler, Avamar Server

Attachments

admesched_pkb_en_US_1.pdf

Article Properties
Article Number: 000195665
Article Type: How To
Last Modified: 13 Jun 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.