teamforus / zuidhorn-backend

0 stars 1 forks source link

email delivery to high priority, bunq payments from supervisor queue … #35

Closed dev-rminds closed 7 years ago

dev-rminds commented 7 years ago

…jobs to crontab commands

Database update required:

ALTER TABLE `transactions` ADD `attempts` INT(10) NOT NULL DEFAULT '0' AFTER `payment_id`; 
ALTER TABLE `transactions` ADD `last_attempt_at` TIMESTAMP NULL AFTER `status`;
UPDATE `transactions` SET `status`='pending-refund' WHERE `status` = 'refund';

also this line should be added to /etc/crontab

*  *    * * *   www-data    php /path-to-artisan/artisan schedule:run >> /dev/null 2>&1
timonback commented 7 years ago

Altered the table Cronjob added:

Run artisan jobs