Re: Package "hours of operation"

From: Shehzad Khoja [MSFT] (srkhoja_at_online.microsoft.com)
Date: 08/18/04


Date: Wed, 18 Aug 2004 09:56:40 -0700

There is no built-in way within software distribution to implement hours of
operation. But a workaround is faily easy to implement. You can execute a
script which checks for the time and runs actual program only if it is in
the allowed time window... else it bails out with a retryable error code.

Hope this helps.

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.
"nickmo" <nickmo@discussions.microsoft.com> wrote in message
news:50B1E376-5A7E-4DBF-8629-9FFE758DE2DE@microsoft.com...
> p.s.  The Operations manual speaks of using scheduled installations (pg.
> 197), but i don't see this when using either the DSUW or the SUIA.....
>
> "nickmo" wrote:
>
> > Is it possible to restrict a package/program/advertisement to only run
> > between a certain time frame (e.g.  11 PM - 1 AM)?  On my advertisement
(for
> > my test machines) I set the advertisement to run daily at 11:59 PM.
However,
> > it ran as soon as the clients picked up the advert. and then ran again
the
> > next morning upon bootup......


Relevant Pages

  • VBScript Mandatory Assignment
    ... The below script adds a new mandatory assignment. ... Const SMSSiteCode = "SiteCode" ... change to every advertisement found. ...
    (microsoft.public.sms.admin)
  • Re: VBScript Mandatory Assignment
    ... I have following script, ... ' This script will modify the local/remote features of an advertisement ... Const SMSSiteCode = "SiteCode" ...
    (microsoft.public.sms.admin)
  • Re: Misc OSD Problems
    ... >> resolution not what the original machine had. ... this script let me know. ... >> appears) the advertisement runs again and a box giving a count down until ... W2KPro PC gets advert to upgrade to WinXP. ...
    (microsoft.public.sms.tools)
  • Re: VBScript Mandatory Assignment
    ... I have a script to modify the start time and the expiration date, but I cannot find one that will remove the existing mandatory assignment and replace it with a new date. ... ' This script will modify the local/remote features of an advertisement or all advertisements at a given site ... Const SMSSiteCode = "SiteCode" ...
    (microsoft.public.sms.admin)
  • Re: VBScript Mandatory Assignment
    ... I have a script to modify the start time and the expiration date, but I cannot find one that will remove the existing mandatory assignment and replace it with a new date. ... ' This script will modify the local/remote features of an advertisement or all advertisements at a given site ... Const SMSSiteCode = "SiteCode" ...
    (microsoft.public.sms.admin)