Requires: phpFox 4.4.0+

Cron jobs in v4.4.0+ are used for Groups App notifications and also for importing old groups from prior v4 versions to the Groups App in v4.4.0+ should you choose to do so. You will need to set up a cron job in order to have the Groups notifications work. 

The file for running phpFox cron jobs is "cron.php" that is stored in the phpFox root folder (Ex: /var/www/html/phpfox). We suggest that you config to execute the file every 5 minutes. In the below example, we set 5 minutes and our example path_to_phpfox_dir is /var/www/html/phpfox.

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"