Cron Job configuration

Discussion in 'Installation/Configuration' started by Sasab, Oct 29, 2018.

  1. Sasab

    Sasab New Member

    I have a problem with a job I would like to run using cron job, I configured the job execution through isp config but the job is not executed, in:
    I can not find any reference to the execution of test.php.
    Where am I wrong?
    I also tried, from within ISP Config interface, to use the command:
    !/usr/bin/php -q /var/www/clients/client0/web5/web/test.php
    and with:
    /usr/bin/php -q /var/www/clients/client0/web5/web/test.php
    but the script is never executed.
    Thank you

    Attached Files:

    Last edited: Oct 29, 2018
  2. Sasab

    Sasab New Member

    with the syntax:
    !/usr/bin/php -q /var/www/clients/client0/web5/web/test.php
    it works !
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Btw. The easiest way to run a php script inside the web dir by cron is to just enter trhe URL starting with http://.... or https://.... in the command field.

Share This Page