Skip to main content

Task System - Logoff​

The Logoff user(s) Task logs off all users, or one user, on the VisualCron Server computer or a remote computer.

Logoff Task settings, with the Credentials group and the Logoff group

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Logoff tab​

  • Credentials: optional, and used only with Remote: the Task uses it to connect to the remote computer. With Local, the Task logs users off as the account of the VisualCron Server service. Select a Credential, or click the Settings icon to open Manage credentials; see Global - Credentials
  • Local (Logoff group): logs off users on the VisualCron Server computer. Selected by default
  • Remote: logs off users on the computer in Hostname
  • Hostname: the host name of the remote computer. Available only with Remote
  • Logoff all users: logs off every user session on the computer. Selected by default
  • Logoff a certain user: logs off the user in Username
  • Username: the user name to log off, without a domain. When the user has more than one session, only the first session found is logged off. Available only with Logoff a certain user
warning

Logoff all users is selected by default. It logs off every user session on the computer, and the programs in those sessions close, so unsaved work can be lost.

Output and errors​

On success, the output is "Logoff success". The Task fails when the user in Username has no session, or when no session could be logged off. With Logoff all users, the Task succeeds when at least one session is logged off; sessions that could not be logged off are not reported.