Document toolboxDocument toolbox

Cron not run automatically

Problem

After setup cron in crontab some time cron not working automatically due to behind net or forwarding IP related issue.

Solution

Try with set local IP or localhost or public IP.

Here is example :

Low balance default cron set is like wget --no-check-certificate -O - -q {BASE_URL}lowbalance/low_balance/

So here try with different way like if ip in behind net then try with localhost  wget --no-check-certificate -O - -q localhost/lowbalance/low_balance/

if IP is private then try with private IP  wget --no-check-certificate -O - -q https://192.168.1.123/lowbalance/low_balance/

Or try with 127.0.0.1 wget --no-check-certificate -O - -q 127.0.0.1/lowbalance/low_balance/