This feature allows to create schedules for 4 types of operations: network scanning, report creation and export, synchronization with AD and storage backups.
TNI will automatically perform them according to the set schedule.
Tasks can be scheduled to run on a specifiс day and at a specifiс time, or daily, weekly or monthly using flexible rules.
To access the scheduler, go to Options – Scheduler.
Here, you can find a separate section for creating and managing scheduled tasks of each type.
Multiple tasks of the same type can be created in each section.
To select a task to be scheduled, simply click Add task in the appropriate section, choose the task from the dropdown menu and create a schedule for it.
See below for additional information on how to create scheduled tasks of each type.
Creating a scheduled scan task
The scan scheduler works with saved tasks. For information on how to create them, see:
In the Scheduler, click Add task under Create and manage scheduled scan tasks and choose which task should be scheduled from the list of existing scan tasks:
There's an alternative way of choosing a scan task to be scheduled. For this, move your cursor over your task in the Scanner's sidebar and click Schedule this task:
As a result of one of these actions, a scheduled scan task will be created. Then set the desired schedule.
If the storage is closed, the task will be skipped.
Creating a scheduled report task
Reports can be automatically built, exported to TXT, CSV, HTML or XLSX and sent via e-mail or FTP, or saved to a network share.
The report scheduler works with custom table report templates. For information on how to create them, see:
In the Scheduler, click Add task under Create and manage scheduled report tasks and choose which report should be scheduled from the list of existing templates.
Similarly to how a scan task can be added, a report task can be added not only from the Scheduler itself in the report tasks section, but also from the sidebar in Table reports:
Then you can proceed with setting a schedule, as well as choosing the Export format. Different formats can be chosen for separate tasks.
The following settings towards the top of the page control how every scheduled report will be exported:
- Data transfer method: allows to select one of the 4 available protocols using which the exported reports are to be sent: FTP, SFTP, SMTP, SMB. Each protocol has its own set of settings. If no transfer protocol is selected (Do not send data), the reports will be saved to subfolder ScheduledReports in TNI's settings folder (C:\ProgramData\Total Network Inventory\ or the TNI folder in your account's AppData – see here for more information).
- Keep sent data in the 'Sent' folder: allows to disable automatic deletion of report files after they're sent. Files can be found in subfolder ScheduledReports in TNI's settings folder.
For the FTP transfer method:
- If FTP proxy is enabled, encryption will not be used even if an FTPS address is specified in the URL field.
- When using FTPS, the agent will attempt to encrypt both the command channel and the data channel. If the server does not support this (and some servers won't), only the command channel will be encrypted during further transfers.
For both the SMTP and FTP transfer methods, TLS is not enforced. If the server does not support TLS, the transfer will be performed over an unencrypted connection.
By default, scheduled reports are built for the entire network tree.
In order for reports to be built for specific assets or groups, activate the Multiple selection mode and tick the necessary boxes in the network tree before leaving TNI running.
For report exporting tasks to be executed at the scheduled date and time, TNI must be running, and the user must not interact with the program.
Creating a scheduled AD synchronization task
In the Scheduler, add a new task under Create and manage scheduled AD synchronization tasks and set a schedule.
If the storage is closed, the task will be skipped.
Creating a scheduled storage backup task
To schedule regular backups of the current storage, open the Scheduler and add a new task under Create and manage scheduled backup tasks.
When adding a schedule for this task, you need to also specify the folder where the backups will be saved.
For backup tasks to be executed at the scheduled date and time, TNI must be running, the user must not interact with the program, and the scanner must not be working.
Restoring from a backup can be done using the Storage menu.
To learn how to back up the program settings, see our FAQ.
Setting a schedule
Clicking the [+] button to the left of the task name in Options – Scheduler reveals its settings.
The Run section allows to set up the type of recurrence:
On a specified date.
Every day at a specific time, or once every N days.
On specific weekdays every Nth week.
On specific days of chosen months of the year.
The exact Time when the task should run can be specified using the corresponding field.
For repeated tasks, the Starting date can also be specified. The task will not be executed before this date.
For report tasks, you can select the Export format.
For backup tasks, you must choose the folder for backups.
Each scheduled task has a separate run log.
To view it, expand the schedule editor and scroll down to expand the run log itself by clicking the [+] button.
Every time a task is run or skipped, TNI adds an appropriate descriptive entry to the corresponding log.
By default, when closing TNI with tasks scheduled during the next week, you will be notified and asked to confirm if you really wish to close the program.
This confirmation can be disabled at the top of the page.
Run logs can be cleared or exported to a folder of your choosing.
Managing scheduled tasks
Toggling the switch to the right of a scheduled task on or off enables or disables the task. You can temporarily disable the task to stop it from running on scheduled days and re-enable it at any time.
If you want to disable all scheduled tasks, untick Enable scheduler at the top of the page.
To unschedule a task, click the X to the right of it in the Options window.
Saved scan tasks and templates are not deleted, only removed from the scheduler.
Another way to remove a scheduled scan/report task is to delete the corresponding task/template itself from the Sidebar in the corresponding tab (Scanner or Table reports).