Suppose you have a PHP script with the following contents (simple example for Unix here):
To enable the JobScheduler to execute this script, you have to make two changes to the script.
First, add one line to the top of the script:
Note that the first line is an interpreter directive, which tells the operating system which program to load.
Secondly, make this file executable with:
chmod u+x info.phpYou also can add the script directly to the job definition instead of using a separate file.