Cron job setup

This article will guide you on how to Set up Cron Job in Online trade.
What is Cron Job?

cron is a time-based job scheduler that enables tasks to be scheduled and runned automatically in a set interval.

Cron job enables Online Trade to automatically and dynamically add ROI (Return on Investment) on users account and also helps in automatic payments, confirmation and crediting to users account.

Cron jobs setups

You can setup cron Job service in two ways: 

  • using external Cron job service 
  • Internal Cron Job service on your cpanel or task scheduler on plesk
Using Internal Cron Job service via Cpanel (settings)

First of all, we have the common settings option. It is to specify the Cron job settings. It contains five parts in every option which are;

  1. Minute (Range: 0 to 59)
  2. Hour (Range: 0 to 23)
  3. Day of month (Range: 1 to 31)
  4. Month (Range: 1 to 12)
  5. Day of week (Range: 0 to 6, Sunday will count as 0)
Responsive image

In this interface, the meaning of Asterisk also needs to be understood. It basically represents the possible number for that position. If it is on minute, then it will make the cron job run every minute.

To locate this page and setup cron job on your cpanel host

  • Go to cron job (you can use the search box)
  • create an every minute or 5 minutes job and supply the following command
    wget -O--q e.g. wget -O--q

To verify that your cron job is working, run the cron URL on your browser directly e.g. If this did not return error, it means all is well.
I hope this is helpful ?

Using External Cron Job service

you can use an external cron job service such as