Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Net stop und net start

Empfohlene Antworten

Veröffentlicht

Hallo miteinander ich hab da ein kleines Problem das wie folgt lautet

Ich soll einen Dienst per "net stop und net start" stoppen und starten doch dazwischen so eine gewisse zeitspanne durchlaufen bevor der Dienst wieder gestartet werden soll.

Ich hab es jetzt einmal so probiert, wobei es mich echt stört das der auf die festplatte schreibt und wieder löscht.


cls

@echo off

net stop "Automatische Updates"


echo >c:\1.vbs wscript.sleep 15000 

echo %time%

cscript c:\1.vbs 

echo %time%

del c:\1.vbs 


net start "Automatische Updates"

Das ganze ist zum sichern von Filemaker. Und da Arcserv länger zum sichern braucht als der dienst von Filemaker offline sein soll, soll ich nun diese Batch datei erstellen.

schön wäre eine befehl wie wait doch leider finde ich nichts dazu ...

Verzeit mir mein untechnisches beschreiben

nimm dir doch sleep aus dem resource kit, dann brauchst du nicht VBS aus BAT aufrufen.

s'Amstel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.