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.

Java Programm via Batch starten als "TASK"

Empfohlene Antworten

Hallo,

folgendes Problem. Ich habe ein Java Programm, welches ich via Batch starte. Klappt auch so weit super, aber wenn ich jetzt diese BAtch als scheduled Task hinterlge (W2K8 R2 Server System), wird das Programm nicht ausgeführt. Auch nicht wenn ich als User nen Domain Admin o.ä. hinterlege.

Gibt es da einen Trick oder habe ich etwas nicht beachtet ?

Gruß

und Danke

Hallo,

mit Java selbst kann ich nicht viel anfangen, aber ...

- was sagt das "Ergebnis" des geplanten Tasks? (

=> sep. Spalte in der Aufgabenplanung

- liegt eine Komponente (vll. das Javaprogramm selbst) ggf. auf einem Netzlaufwerk?

=> wäre somit mit angem. User verfügbar - aber nicht als gepl. Task!

- was passiert, wenn du z.B. in deine Batchdatei eine Logdatei mitschreiben lässt?

=> du siehst somit, das der Task an sich erst einmal startet

=> vll. kommt dadurch auch der Fehler zum Vorschein!

- greifst du ggf. auf Benutzer-Umgebungsvariablen zu?

=> ggf. würde diese unter einem anderen User fehlen ..

Vielleicht kommst du so dem Problem auf die Schliche ...

Gruß Sanches

Danke werde alles kontrollieren und Feedback geben =)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.