# ConX Queues
## Build Setup

```bash
# EMAIL JOBS 
## Send emails to super admin user everyday in regards to company usage (added worker)
php artisan adminnotificationforcompanyusage:cron

## Send email notification on super admin admin in regards to daily company subscription payment
php artisan adminnotificationforcompanysubscriptionpayments:cron

## Notify admins using emails in regards to the newly created company accounts per day
php artisan adminnotificationfornewlycreatedcompanies:cron

## Everyday, update status of loan_borrow_lists table to Work done where date_to is equals to yesterday or the other days
php artisan updateloanborrowliststatustoworkdone:cron

## Everyday, update status of loan_borrow_lists table to Work in progress where date_to is equals today
php artisan updateloanborrowliststatustoworkinprogress:cron

## Delete (using softdelete) all records that are not submitted within the day from date of creation
php artisan companycarts:snapback

## Check if company is to be blocked if 28 days grace period has passed. then blocked
php artisan checkblockedcompanysubscription:cron

## Check monthly subscription expirations';
php artisan checkexpiredmonthlysubscription:cron

## Check company subscription expiration
php artisan checksubscription:cron

## Everyday, update status of loan_pending_workers and borrow_pending_workers table to Declined where date_from is equals to yesterday or the other days (In short, expired loan and borrow pending workers)
php artisan declineexpiredloanrequest:cron

