Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • for Windows we do not distribute a library but use the scripting libraries from an existing ActiveState Perl implementation, see http://www.activestate.com.
  • for Unix the library libsosperlscript.so should have been copied to the lib directory by the installer. Moreover the libperl.so 32Bit library from your Perl installation must be linked in the lib directory.

    Example:

      cd /[JobScheduler installation]/lib/
      ln -s /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/libperl.so libperl.so
    

...

  • you could use <job><process file="my_script.pl"/></job> to use Perl as from the command line (my_script.pl must be executable). This works with all versions of Perl, but no API methods of JobScheduler can be used.
  • you would use <job><script language="perlscript"><include file="my_api_script.pl"/></job> for a Perl script that makes use of JobScheduler API and requires the above libraries for Unix.

...

Some more complete examples of Perl jobs are given in the Solutions Pages of this site, see:

The given examples are mainly interesting as we provided job implementations for Perl, Java and Javascript: even if you do not intend to implement Web Services the source code and job documentations are useful to see how the API works equally for all languages.