Closed dev-rminds closed 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
Altered the table Cronjob added:
…jobs to crontab commands
Database update required:
also this line should be added to /etc/crontab