Delete Schedule
Use this command to delete a schedule.
This command must be used in conjunction with Maintenance. While it is enabled, no other users can perform maintenance related activities in the Data Server repository. When you are finished, you must remember to disable the Maintenance mode, and thereby allow normal access by other users.
For more information, see Maintenance or Exclusive.
Caution: This command cannot be undone. Use with caution.
Syntax:
MAINTENANCE ON
DELETE SCHEDULE SchedName
MAINTENANCE OFF
where:
- SchedName is the name of the schedule to be deleted.
Creating an ASCII input file
To delete a large number of schedules, specify the parameters for this command in an ASCII file.
Create an ASCII file containing the following information for each schedule:
SchedName
Syntax (with an ASCII file):
DELETE SCHEDULE @FileName
where:
- FileName is an ASCII file containing the data. It can include a complete or partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:
@"C:\My Documents\My Data.txt"
Note: If the document is in the same location as lv_af.exe, you do not need to specify the drive or path.
Syntax example:
MAINTENANCE ON
DELETE SCHEDULE @Scheduleremove.txt
MAINTENANCE OFF