View Full Version : unix/windows
koblitz
07-03-2003, 11:59 PM
Is this possible. we are running unix with apache. we have a windows server with a program that outputs html from our accounting system by going to a command prompt and typing the programms exe file with the report name and any parameters. example would be c:\program.exe /SalesReport 100. Is there any way to run this from unix? This is beyond my skill set so I am not sure where to start.
Thanks you this forum has always been a great resource.
weronpc
07-08-2003, 03:55 AM
*.exe file only for windows, Unix is different.
I don't think the *.exe program will work on Unix.
Not trying to be an ******, but this place is for php questions only
:p
Spookster
07-08-2003, 06:49 AM
Originally posted by weronpc
*.exe file only for windows, Unix is different.
I don't think the *.exe program will work on Unix.
Not trying to be an ******, but this place is for php questions only
:p
This will be your only warning. Use profanity in our forums again and you are gone. I suggest you read our forum rules and guidelines.
Spookster
07-08-2003, 06:50 AM
Originally posted by koblitz
Is this possible. we are running unix with apache. we have a windows server with a program that outputs html from our accounting system by going to a command prompt and typing the programms exe file with the report name and any parameters. example would be c:\program.exe /SalesReport 100. Is there any way to run this from unix? This is beyond my skill set so I am not sure where to start.
Thanks you this forum has always been a great resource.
Koblitz,
Are you looking for some kind of PHP solution?
firepages
07-08-2003, 04:49 PM
... are the *nix & windows boxes on the same network ? or is the *nix box remote and the win box local ? please explain your setup.
also do you want to get this output on demand ? or is a regular update OK ?
is PHP available at both ends ?
do you have a static IP ?
does the windows box itself run any web or FTP or file servers ?
without more info I reckon the easiest solution is to use the windows task scheduler to run a batch script every $x minutes which would run your program and upload via FTP (can all be done from batch script)
there are several alternatives but we need more info of you to be able to help
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.