Requires: phpFox 4.4.0+

The file for running phpFox cron jobs is "cron.php" that stored in phpFox root folder (Ex: /var/www/html/phpfox). We suggest that you should config to execute the file every 5 minutes.

There are several ways to configure cron job, depend on your web server environment.

  1. Setup from cPanel (Mostly use for share hosting)

    With cPanel, you can follow the document in the link below to set up a cron job to execute the file "<path_to_phpfox_dir>/cron.php"

    https://documentation.cpanel.net/display/ALD/Cron+Jobs

  2. Setup from command line on web server via ssh

    $ > crontab -e
    $ > */5 * * * * php <path_to_phpfox_dir>/cron.php
  3. On Window Server
    Create a schedule task to execute the file "<path_to_phpfox_dir>/cron.php"