Re: Scripting SMS Collection Creation

Tech-Archive recommends: Fix windows errors by optimizing your registry



"slfarnsworth" <slfarnsworth@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:894C5ACE-5CAD-4291-8868-580AB7F8BDAB@xxxxxxxxxxxxxxxx
I had to correct this post...edited version follows...

"slfarnsworth" wrote:

Does anyone know how to script the creation of a collection's update
schedule?

I have a VB script that will create package, collection, and
advertisement
items but the collection is always created without an update schedule.
Manually creating a collection in the console appears to create a defualt
update
schedule of 1 day. If I could add to my script to create an update
schedule
of 1 hour I would be a happy camper.

You can do that by manipulating properties of the SMS_ST_RecurInterval
class. Can you post your code for me?

Steve


.



Relevant Pages

  • Re: Synchornize date script
    ... I create an account called schedule, ... the script works just fine. ... synchronize with external time source. ...
    (microsoft.public.scripting.vbscript)
  • Re: SMS 2003 - How can I re-run a program occasionally on client where it has already ran succesfull
    ... actually need to be able to set another schedule, ... The script is to update files on ... So when you create an advertisement, ... > client will re-run that advertisement. ...
    (microsoft.public.sms.swdist)
  • Re: FTP delete problem
    ... 220 Microsoft FTP Service ... 200 PORT command successful. ... If i manually execute the script, the output wrote, but by schedule isn't ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Packages and Program Commands
    ... In order to force the package to install on its own (rather than giving the ... In your advertisement properties, go to the schedule tab. ...
    (microsoft.public.sms.admin)
  • Re: Junk email schedule wont run
    ... Open /Applications/AppleScript/Script Editor. ... Paste this script into a new script window: ... Add this action to the offending schedule: ... Did your computer beep? ...
    (microsoft.public.mac.office.entourage)