Jump to content

Standby per Batch-Datei mit curl aufrufen


notaclue

Recommended Posts

Hallo zusammen,

 

nach dem Update auf DMS v2.0.3 musste ich in meiner Batch-Datei (die ich per Verknüpfung auf meinem Desktop aufrufe) die Syntax ändern. Um jetzt mit curl den Rechner in den Standby zu schicken, ohne dafür einen Browser öffnen zu müssen, klappt bei mir folgende Syntax:

 

Quote

curl http://127.0.0.1:8089/api/tasks.html?action=Standby


Rein informativ: Die früheren Versionen dieses Befehls sahen mal so aus:
 

Quote

 

curl http://127.0.0.1:8089/tasks.html?task=Standby&aktion=tasks
curl http://127.0.0.1:8089/api/tasks.html?task=Standby

 

 

Ich hatte das Problem schon mal in 2016 hier gepostet.

Vielleicht hilft das ja jemandem weiter.

 

Link to comment
2 hours ago, notaclue said:

curl http://127.0.0.1:8089/api/tasks.html?task=Standby

 

Das sollte eigentlich auch funktionieren, wird aber durch einen Fehlers im DMS verhindert. Gerade korrigiert. Danke für den Hinweis.

Link to comment

Beim Wechsel zu 6.03 hatte ich da auch Probleme. Jetzt nutze ich "http://videoserver:8089/tasks.html?task=Hibernate^&aktion=tasks".

 

Gibt es einen "offiziellen" Aufruf der einen sauberen Hibernate macht?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...