|
If [Not] Once <GlobalIDKey> Then | True only once for the executing computer, use UserOnce for per-user intervals. A globally unique key must be provided that is not used in any other script. To trigger a re-run on all executing computers, change the globally unique key.
Example: If Once InitialMachineModding Then Include SetupScripts\InitialSetup.fsh |
|
If [Not] OnceADay Then If [Not] OnceADay <NoDays> Then | True only once a day for the machine, which is useful for cleanups; use UserOnceADay for a per-user intervals. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution.
Example: If OnceADay Then Include DailyCleanup.fsh |
|
If [Not] OnceAMinute Then If [Not] OnceAMinute <NoMinutes> Then | True only once a minute for the machine; use UserOnceAMinute for a per-user intervals. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution. |
|
If [Not] OnceAMonth Then If [Not] OnceAMonth <NoMonths> Then | True only once a month for the machine, which is useful for cleanups; use UserOnceAMonth for a per-user intervals. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution.
Example: If OnceAMonth Then Include MonthlyCleanup.fsh |
|
If [Not] OnceAnHour Then If [Not] OnceAnHour <NoHours> Then | True only once an hour for the machine; use UserOnceAnHour for a per-user intervals. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution. |
|
If [Not] OnceASecond Then If [Not] OnceASecond <NoSeconds> Then | True only once a second for the machine; use UserOnceASecond for a per-user intervals. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution. |
|
If [Not] OnceAWeek Then If [Not] OnceAWeek <NoWeeks> Then | True only once a week for the machine, which is useful for cleanups; use UserOnceAWeek for a per-user intervals. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution.
Example: If OnceAWeek Then Include WeeklyCleanup.fsh |
|
If [Not] UserOnce <GlobalIDKey> Then | True only once for the current user; useful for for instance welcome information. A globally unique key must be provided that is not used in any other script. To trigger a re-run on all users, change the globally unique key.
Example: If UserOnce ShowWelcome Then ShowWebPage http://intra.acme.com/Welcome,Welcome to Acme |
|
If [Not] UserOnceADay Then If [Not] UserOnceADay <NoDays> Then | True only once a day for the current user. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution.
Example: If UserOnceADay Then Include DailyCleanup.fsh |
|
If [Not] UserOnceAMinute Then If [Not] UserOnceAMinute <NoMinutes> Then | True only once a minute for the current user. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution. |
|
If [Not] UserOnceAMonth Then If [Not] UserOnceAMonth <NoMonths> Then | True only once a month for the current user. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution.
Example: If UserOnceAMonth Then Include MonthlyCleanup.fsh |
|
If [Not] UserOnceAnHour Then If [Not] UserOnceAnHour <NoHours> Then | True only once an hour for the current user. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution. |
|
If [Not] UserOnceASecond Then If [Not] UserOnceASecond <NoSeconds> Then | True only once a second for the current user. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution. |
|
If [Not] UserOnceAWeek Then If [Not] UserOnceAWeek <NoWeeks> Then | True only once a week for the current user. If the script is modified, intervals are automatically reset, which means that the condition will automatically be true at next execution.
Example: If UserOnceAWeek Then Include WeeklyCleanup.fsh |
|