About Task Scheduler

Task Scheduler performs automated tasks and acts as a batch processor in Inventor and other applications.

It provides a set of pre-defined tasks, and you can create custom tasks. With Vault installed, and a vault project active, you can run tasks on files in the vault.

Use the Inventor Task Scheduler to organize and define one or more time-consuming tasks from different types of programs. Close the Task Scheduler window, and the tasks you scheduled run in the order and at the time that you specified. Regardless of the number of physical processors available, use the Multi Processes setting to run a batch process. Run multiple Inventor sessions on the same processor.

The Inventor Task Scheduler contains predefined task managers for executing common tasks, and a custom task manager for defining your own tasks. A sequential task manager sets up multiple predefined and custom tasks using an executable or COM object.

Each time you run a task, a log file documents the task’s progress and any errors that occur.

About iLogic and Task Scheduler

If there is an iLogic event trigger set for Before Save Document in the target file, Task Scheduler will attempt to execute the rule in the last save step which stops the task scheduler operation. To avoid this, do one of the following in Inventor before you start:
  • Go to ToolsAdd-Ins and disable Load Automatically for the iLogic add-in.
  • Go to ToolsOptionsiLogic Configuration, click Security Options, and set Event triggers to: None - all events disabled.

Task Manager Process

Each type of task manager has a separate dialog box, and runs like a separate application. In the dialog box, you define the task and schedule a time to run it.

Note: You can use the Task Scheduler while you run Inventor. For optimal performance, close all Inventor sessions before you run a task, and do not start a session while a task is running.

When you have multiple tasks to run, set them up in the Sequential Task manager. Define the order to run them, and specify a time to begin. The tasks you set up in the Sequential Task manager are called subtasks. A subtask can depend on the output of a prior subtask.

You can schedule a task to run immediately, or schedule it to run in the future. Tasks run at the scheduled time whether the Task Scheduler is open or closed. The Run option on the context menu overwrites the schedule and runs a task immediately.

After a task runs, it enters a disabled state. To reuse the task, change it back to the enabled state.

When the Task Scheduler application runs, it populates the system tray with the Task Scheduler icon.

When the Task Scheduler application runs, it places an icon in the system tray. You can right-click the icon to display a menu of commands. For example, right-click the icon and choose View Task Queue to open Task Scheduler and see a list of all tasks scheduled from today forward.

Batch Processing with Task Scheduler

You can use the Multi Processes feature to run a batch process, which is especially useful for migration. You can specify the number of processes, regardless of the physical number of processors. It entails running multiple Inventor sessions on the same processor, depending upon available memory.

A batch process is listed in the Task Scheduler dialog box as one task. While a batch process runs, a dialog box displays the percentage complete, which is the total task percentage status across all processes.

You can run tasks on one or more files, all files of supported types in a folder. You can also run tasks on all files of supported types in a project.

Ownership and Access

The first time you create a task in the current session a dialog box is displayed requiring your Windows user name and password. This action makes you the owner of the task. Only you or an administrator can delete or edit that task. Others are restricted to only viewing the tasks you create.

Note: If you are unable to authenticate your login, exit Task Scheduler. Before you restart the process, right-click on the task scheduler EXE, select Run as Administrator, and then provide your normal login credentials.

If you have local administrator privileges, you can edit or delete all the tasks. If you try to edit or delete a task for which you do not have write permission, a message displays with the login name of the owner.

The first time you create a task that involves files in the vault, a prompt asks you to log in. Enter your user name, password, the server name, and the database. You can select the option to set automatic login for future sessions to avoid the need to log in again.