# System Requirements

Minimum machine requirements:

  • 1GB RAM
  • 1 CPU

# Software requirements

# Cron

A cron (opens new window) is required to process the application background jobs. A cron is system in which a command is executed in a regular basis, this way Chevereto can perform operations in the background.

# Command

The command should be run by the web-server user which is www-data (may vary). To run the command in Chevereto it requires to call PHP binary at the Chevereto CLI.

PHP binary

Use which php to locate the PHP binary as its location may vary in different systems and configurations.

Command below uses sudo -u www-data to run the command as www-data user permissions. PHP binary is at php and the Chevereto CLI is at /var/www/html/cli.php. The command argument passed to Chevereto is -C cron.

# Docker command

# Cron.d file

With a cron.d file (opens new window) the cron can be easily setup. To do this create a cron file at /etc/cron.d/chevereto with the following contents:

* * * * * www-data php /var/www/html/cli.php -C cron

Note: In debian-based systems the cron file must have a newline eof

In the instruction above * * * * * (opens new window) is the cron schedule to run every minute and www-data is the web-server user. The rest of the instruction is just the command.

Suit your context

The above default cron works when running our official provisioning. If you don't use our server provisioning you will be required to alter the default instructions for user, PHP binary and Chevereto CLI location. Refer to your system documentation.

# Server requirements

If you don't run containers you need to review the Server Requirements.

# Image library

Refer to Image library server requirements.