Blog Post

Enterprise Data Services Community Blog
1 MIN READ

Use BEMCMD to start jobs

pkh's avatar
pkh
Moderator
14 years ago

BE comes with a commandline line applet called BEMCMD.  This program is located in the BE installation directory, along with it manual.  One of the BEMCMD can be used to start jobs which were already created.  For example,

"C:\Program Files\Symantec\Backup Exec\bemcmd.exe" -o1 -j"Backup SQL Logs"

Backup SQL Logs is a job that has been submitted as Run Now and On Hold.  The full path is used above because the BE installation directory is not in the default path in Windows.

You can schedule BEMCMD to run at a particular time using the Windows scheduler or as a pre- or post- command in a BE job.

In the example above, when the backup job ends, Backup SQL Logs will be started.  In this way, you can chain jobs together.

You can also run BEMCMD from any Windows machine which may or may not have BE installed on it.

 

Published 14 years ago
Version 1.0
No CommentsBe the first to comment