Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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

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

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

  2. Setup from command line on web server

    Code Block
    languageapplescript
    $ > 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"