Can I set snooze from the commandline

At our company indexing doesn't stop when we're using our computers. I expect this is because we're working in an ASP situation through a terminal server.

So, as I work-around I thought it would be usefull to snooze indexing every weekday for 8 hours starting at 09:00hrs. Obviously I cannot rely on each individual to set this every morning, so i would like to automate it. My first idea was through a commandline but I believe snooze is not an option here. Obviously our staff has to leave their system on once in a while at night to allow indexing.

Anyone who has any idea how to automate the snoozing

Leo



Answer this question

Can I set snooze from the commandline

  • Rachita

    Paul,

    Thanks for your assistance, however I'm not sure what to do now. I would guess from your message that you've written a pause.vbs and a resume.vbs that works with Desktop Search 3.0, but I donot see how I could download these scripts. And yes, having such scripts would allow me to make it work.

    Thanks in advance,

    Leo


  • Dale17677

    LeoE,

    I'm not aware of a way to set snooze intervals from the command line, but I'll look into it to see what information I can find.

    Paul Nystrom - MSFT



  • testqh

    LeoE,

    After a bit of research, I can't find a simple command to pause for a specified period of time. You can, however run the following from an elevated command prompt (on WDS 3.0):

    To pause: cscript

    \\back\scratch\WSearch\Tools\Scripts\pause.vbs

    To resume: cscript

    \\back\scratch\WSearch\Tools\Scripts\resume.vbs

    Knowing that, you could probably put together a simple program that starts and stops the indexer at certain points during the day.

    Paul Nystrom - MSFT



  • Can I set snooze from the commandline