Skip to end of metadata
Go to start of metadata

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.php

    You also can add the script directly to the job definition instead of using a separate file.