Setting up CRON JOBS
CRON Job Setup Guide.
Last updated
CRON Job Setup Guide.
Last updated
Product price change reflect live on user's cart .
Wallet points expiry check.
Go to cpanel dashboard and find advanced and open cron job tab
2. After opening cron job you will see similar settings. For more information check below screenshot. Paste the command in Command input box
After adding new cron job you will see similar output as in below screenshot.
To start the Laravel Scheduler itself, we only need to add one Cron job which executes every minute. Go to your terminal, ssh into your server, cd into your project and run this command.
This will open the server Cron tab file, paste the code below into the file, save and then exit. Make sure your replace path-to-your-project with your project directory ex. var/www/html/projectdirectory
Check if Ubuntu cron working fine or by hitting this command In Ubuntu, the cron service should start automatically. You can check it with these commands:
For users who testing script on localhost like laragon, xammp, wammp or other tools after run project go to project directory and open terminal/command prompt and hit command
You will receive following similar output