Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
This question is not about the flow of air in a data center but about Apache Airflow
Link
Nikita Kipriyanov
  • 15.9k
  • 3
  • 30
  • 60

I have an Airflow installed on CentOS and I am able to run scripts/commando's on my Windows 10 machine.

However, I have a VBS script that starts Excel and SAP Logon and then automatically logins, fills in some fields and download a file. When I run this on the Windows machine via cmd, PowerShell or scheduler it works fine.

However, when I run this via Airflow it doesn't work. Initially it didn't start the Excel and SAP instance. I got this working by changing DCOM configurations. What is remaining is that it automatically clicks the field and fill in the data and then download the file.

I assume I might have to change some DCOM settings to enable controlingcontrolling screens and mouse movement, but I have no idea.

I would really appreciate your thoughsthoughts and potential solutions.

I have Airflow installed on CentOS and I am able to run scripts/commando's on my Windows 10 machine.

However, I have a VBS script that starts Excel and SAP Logon and then automatically logins, fills in some fields and download a file. When I run this on the Windows machine via cmd, PowerShell or scheduler it works fine.

However, when I run this via Airflow it doesn't work. Initially it didn't start the Excel and SAP instance. I got this working by changing DCOM configurations. What is remaining is that it automatically clicks the field and fill in the data and then download the file.

I assume I might have to change some DCOM settings to enable controling screens and mouse movement, but I have no idea.

I would really appreciate your thoughs and potential solutions

I have an Airflow installed on CentOS and I am able to run scripts/commando's on my Windows 10 machine.

However, I have a VBS script that starts Excel and SAP Logon and then automatically logins, fills in some fields and download a file. When I run this on the Windows machine via cmd, PowerShell or scheduler it works fine.

However, when I run this via Airflow it doesn't work. Initially it didn't start the Excel and SAP instance. I got this working by changing DCOM configurations. What is remaining is that it automatically clicks the field and fill in the data and then download the file.

I assume I might have to change some DCOM settings to enable controlling screens and mouse movement, but I have no idea.

I would really appreciate your thoughts and potential solutions.

Source Link
Billy
  • 11
  • 2

How can I get Airflow on Linux run a VBS script that is automatically downloading SAP data?

I have Airflow installed on CentOS and I am able to run scripts/commando's on my Windows 10 machine.

However, I have a VBS script that starts Excel and SAP Logon and then automatically logins, fills in some fields and download a file. When I run this on the Windows machine via cmd, PowerShell or scheduler it works fine.

However, when I run this via Airflow it doesn't work. Initially it didn't start the Excel and SAP instance. I got this working by changing DCOM configurations. What is remaining is that it automatically clicks the field and fill in the data and then download the file.

I assume I might have to change some DCOM settings to enable controling screens and mouse movement, but I have no idea.

I would really appreciate your thoughs and potential solutions