| Wisitors since January 1. 2006: 19349 | RPC Logon: Conditions Conditions determine wheatear the job tasks should be executed or not. A condition evaluates to either true or false, and all the job conditions must evaluate to true if the job tasks should be executed. If the job don't have any conditions, the job tasks isn't executed. | Condition | Description | | Date and Time | This condition evaluates to true, if the computers date and time is within a specified period (start- and end-date/time). This enables the administrator to expire jobs, or prevent jobs from running before a specific date/time. | | Directory Exists | This condition evaluates to true, if the specified directory (mask) exist. It is possible to set a flag, indicating that the directory should not exist. Example: 'c:\*s' evaluates to true if one or more directory in the root of the C-drive ends with an 's', like 'windows' or 'program files'. Example: 'c:\temp' evaluates to true if the directory 'temp' exist in the root of the C-drive. | | Enable/Disable | This condition evaluates to true, if it is flagged as enabled. The job tasks are only executed if all conditions evaluates to true, meaning that there must be at least one condition. If no other conditions meet the challenge, use this condition to simply enable the job. | | Evaluate | This condition evaluates to true, if two text strings compares, using one of the following methods: - = (a equals b)
- < (a is less then b)
- <= (a is less then or equal to b)
- > (a is greater then b)
- >= (a is greater then or equal to b)
- <> (a is different then b)
- CONTAINS (a contains b)
- STARTS WITH (a starts with b)
- ENDS WITH (a ends with b)
Remember that you can use the %-variables. Example: '%WINDOWS_VERSION_MAJOR%.%WINDOWS_VERSION_MINOR%' = '5.1' evaluates to true if the computer runs Windows XP (Windows NT version 5.1). The job tasks is then only executed on Windows XP computers. | | File Exists | This condition evaluates to true, if the specified file (mask) exist. It is possible to set a flag, indicating that the file should not exist. Example: 'c:\*.doc' evaluates to true if one or more DOC-file exist in the root of the C-drive. Example: 'c:\boot.ini' evaluates to true if the 'boot.ini' file exist in the root of the C-drive. | | List | This condition evaluates to true, if the user selects one of the correct items in a list. The choice can be remembered, so the user is only prompted one time. Lists can be global, enabling the administrator to use the same global list as a condition in multiple jobs. The administrator selects which list items are valid choices. If the item chosen by the user isn't among the selected items, the condition evaluates to false. Each time a global list is used, the administrator can select different list items as valid choices. Example: The administrator creates a global list named 'DEPARTMENT'. The list have these items, 'Sales', 'Production', 'Personal' and 'Management'. This list can then be used to control which jobs (tasks) are executed in the different departments. The users choice is even stored in a %-variable named '%VAR_DEPARTMENT%' | | Message | This condition evaluates to true, if the user clicks OK instead of CANCEL to a message. The administrator can use this condition to allow the user to decline a software update. If a version condition is placed before the message condition, the user is only prompted one time. | | User group | This condition evaluates to true, if the current user is a member of one of the selected Active Directory security groups. | | User name | This condition evaluates to true, if the current user is one of the selected Active Directory users. | | Version | This condition evaluates to true, if the locally stored version number is less then the number specified. When this condition is created, it has a version number of 0. The administrator can increase the version number by clicking a button. Each click increases the version number by one. When the condition is evaluated on the computer, the locally stored version number is compared to the current version number. If the local version number is less then the current version number, the condition evaluates to true. The current version number is stored locally on the computer, and used for evaluation next time. | The above conditions is stored in Rpc Logon Conditions.dll. Please contact me, if you have suggestions for additional conditions. |