Chat now with support
Chat with Support

Metalogix Essentials for Office 365 2.2.3 - Advanced Installation Guide

Using Scripts and Integration with Windows Task Scheduler

As with many of Metalogix Essentials operations, users may generate a command line script by pressing the Generate Script button (refer to Scripting Reference Guide for additional information).  For repetitive operations like backups, the application has been integrated with Windows Task Scheduler (WTS).  WTS allows users to run jobs on a schedule, in the background, even if no user is currently logged into the computer.  

Once a script is executed, the history will be available in the log viewer.  Unless specified in the script all history files will have auto-generated file names as a unique string of numbers. The path to all log files is: C:\Users\[UserName]\MetaVis\.metadata\appLog.

To create a new script and load it into Windows Task Scheduler:

1.Press the Generate Script button within any of the Essentials wizards.
Using scripts1

2.The Command Line Script window will open, displaying the script for that wizard action. Press Copy to Clipboard.
using scripts2

3.Open Windows Task Scheduler and select the Create Basic Task option in the Actions panel.
using scripts3

4.Give your task a name and a description, click Next.
using scripts4

5.Select when you would like the task to start, click Next.
using scripts5

6.Set a start date and time, and how many days you would like the task to continue for. Click Next.
using scripts6

7.Leave the Action selection as "start program" and click Next.
using scripts7

8.In the Program/Script field, paste the script you copied to the clipboard in step 2. Click Next.
using scripts8

9.On the summary page, click Finish.

Related Documents