Cron Tab
Add cron to server
1. All Cron Check
it runs every minute of every hour of every day.
This command is intended to run a task scheduler for a Laravel application.
command checks the scheduled tasks defined in your Laravel application and runs any that are due.
only works on unix system.
2 . Pending Cron (Airpay)
it runs every minute of every hour of every day.
Works on only Airpay PG orders.
Status of order changes from "Pending" to" Failed" / "Success"
If rzp_id/ Transaction_Id is Null, this con will update the rzp_id/ transaction id from the airpay PG based on OrderNote/ OrderCode.
If rzp_id/ Transaction_Id is Null, after 15 min of order creation, order will chnage to failed.
3 . Pending Cron (Razorpay)
it runs every minute of every hour of every day.
Works on only Razorpay PG orders.
Status of order changes from "Pending" to" Failed" / "Success"
If rzp_id/ Transaction_Id is Null, this con will update the rzp_id/ transaction id from the Razorpay PG based on OrderNote/ OrderCode.
If order created time is more than 13-min and order status in raozr-pay stays as "created/attempted", then order changes to failed.
4. Cancelled Cron:
It runs every minute of every hour of every day.
Works only on razorpay orders.
Check all Cancelled orders,
where condition is order created date with in one day and razorpay id not null & status is cancelled. Order should be with in 24 Hours.
recheck and re-update if order status from Razorpay.
5. Delivery Cron:
it runs at 12:00 AM daily.
works on all orders with order status is Shipped.
changes status fromShipped to Delivered after 14 days.
6. SQS Cron
it runs every minute of every hour of every day.
use for build sms push, during order import.
Use to push all queue all sms.
cron stops untill no sms to push
7. Pincode Cron
run every night at 2:00 AM
update order pincodes data
Update order with status confirmed, packed only