CRON jobs in ISPmanager

  1. "CRON jobs" → create a job.
  2. "Command": what to run. For a PHP script give the full path to PHP and to the file.
CRON jobs
CRON jobs
/opt/alt/php84/usr/bin/php /var/www/USER/data/www/example.com/cron.php

The path to the right PHP version is in the site settings, PHP handler block, interpreter path. USER is your login.

  1. "Scheduler" → "basic mode": choose "Run" (hourly, daily…) and the time.
  2. "Email": where to send the output. Or tick "Do not email report".
  3. Click "Create".
Basic mode
Basic mode

"expert mode" has five CRON fields: minutes, hours, days of month, months, days of week. Every 15 minutes: */15 in minutes, * elsewhere.

Expert mode
Expert mode
The job in the list
The job in the list

To test a job at once, tick it and run it from the top toolbar.

Questions and answers
In the site settings: "Handler (PHP)" → "Path to PHP interpreter".
Tick the job and click "Run".
Tick "Do not email report".