Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I script jobs in standard Unix scripting languages (sh, Perl)?

0
Posted

Can I script jobs in standard Unix scripting languages (sh, Perl)?

0

Yes! sh and Perl scripts can be launched as executables. Even more interesting are scripted jobs that make use of the Job Scheduler API, e.g. to write to the Job Scheduler logs which are visible in the web interface (and automatically mailed in case of errors, warnings or success), to set the job processing state, to launch other jobs via API and to process job parameters. Scripted jobs with API support are not just launched in a new process, but run in a child instance of the Job Scheduler which exposes the API objects and methods directly to the script. For the supported scripting languages the Job Scheduler is linked to the respective language interfaces. Jobs that make use of the API are preferably written in Java, Javascript, the Mozilla (see SpiderMonkey) runtime environment is included for the above platforms, for Windows additionally VBScript is supported. Perl jobs with API support may be operated for Windows provided that an ActiveState implementation is installed. For Linux

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123