Table of Contents

Scheduled run

Automatically launching a query or a set of queries at regular intervals is a common need in companies. This is why Vigilens offers you a mechanism for scheduling your queries.

Principle

It simply uses Windows Task Scheduler to launch a command line. You can use either classic dos language (cmd) or Powershell.

Ex : C:\Vigilens\app\Vigilens.exe /vglAuto=“C:\Vigilens\Work\Archives\DEMO\foder\myquery” /vglUser=“SCHEDULE_FR”

Setup

You do it in AdminTool Batch output menu. #TBC

You have to define users who will be allowed to connect with a command line.

Assistant

In Vigilens Designer, there is a scheduling assistant. Use it to create the skeleton of your command, and adapt it to your needs. See our URL syntax guide below.

User

If you want to be sure that a free connexion will be available at the moment job is triggered, it may be useful to create a specific user with "Vigilens Dedicated" profile type.

Syntax

/vglForceInstall

/vglExe=RequestName

/vglAuto

/vglDir=DirectoryName

/vglDirConf

Starting with Windows Vista (or Server 2003), it is necessary to run this command as an administrator to allow processing by a task scheduler.

/vglUser=UserName

/vglMail=AdresseMail

/vglNumFormat=DecimalsThousands

The numerical values returned will use :

/vglOutput=OutputType

/vglPDFType=PDFFileType

/vglPDFModel=PrintTemplate

/vglMaxLineNumber=Number

Parameters passing