Page History
- 2012-Sep-20 11:47 smoler
- 2012-Sep-20 11:10 smoler
- 2012-Sep-20 11:04 smoler
If Perl is available on all execute hosts
A single batch script can be defined to work on all Windows and Linux machines. If Perl is available on all potential execute machines, then depend on it, and write a Perl batch script. Name the script with the extension .pl
, and Windows machines will use this extension to identify and run it as a Perl script. The first line of the Perl script will have #!
, letting Linux machines know what to do.