Unable to add cronjob

Discussion in 'Installation/Configuration' started by hendr1x, Aug 28, 2023.

  1. hendr1x

    hendr1x New Member

    Hello everyone,
    I'm trying to setup the following cron job to run on client0 + web4
    0 2 1 * * /usr/bin/php /var/www/clients/client0/web4/web/site/cron/rent.php >/dev/null 2>&1
    When I enter it into the "Sites" -> "Cron jobs" section it simply submits the form, nothing is saved (index of crons is empty still) and no indication that I am aware of that anything went wrong / there was an error.

    Sorry, I'm sure this is obvious but I have no idea whats wrong. I read through the manual + searched on this forum. I found that people are able to call /usr/bin/php so that was my main lead. I would rather not create bash scripts unless it is required.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You say you saved the cronjob but afterward, the list of cronjobs remains empty and does not show this cronjob? Are you sure that you did not select something in the list header, like showing only inactive cronjobs or similar which just filters out the job you added as it does not match the criteria you selected as a filter in the list?
  3. hendr1x

    hendr1x New Member

    You got it exactly. I had filters enabled and I didn't realize it. Thank you.
    Th0m likes this.

Share This Page