Page tree

Versions Compared

Key

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

...

Requires: phpFox 4.7.0+

Note
titleImportant
  • The following tutorial is a basic guide. All hosts have different setups. It could be that the path doesn't work for your server configuration. In that case, please contact your host for the proper path.
  • If your site hasn't been set up SSL, please use the URL with HTTP. In this article, we assume that the site has been set up SSL and all URLs will be used HTTPS

Cron jobs system of phpFox is required the site admin have to set it up manually. Cron jobs of phpFox are used for some core features such as Groups converting, Groups notifications, Downgrade Expired Subscribers... So, it is necessary to set up Cron jobs system to make sure that the phpFox site can work well as design.  Below is some instructions to help the admin can set up the phpFox cron job system easily.

...

Info

The Cron URL with token will be in format: http(s)https://<your-domain>/cron.php?token=<your_defined_token>

...

  • Step 3: Add the command below to the list to add the phpFox cron job.
    (http(s)https://www.<your-domain>.com/cron.php?token=<your_defined_token> is the URL we received in first part).
    With this command, the phpFox Cron job will be executed every 5 minutes.
Code Block
languageapplescript
*/5 * * * * curl -s http(s)https://www.<your-domain>.com/cron.php?token=<your_defined_token>
  • Step 4: Save the change and the phpFox cron job have been set up successfully.

Set up on Window Server

Create a schedule task to execute the command "wget 

...

https://

...

<your-domain>

...

/cron.php?token=<your_defined_token>
(

...

https://

...

<your-domain>

...

/cron.php?token=<your_defined_token> is the URL we received in first part)