Cron job using Laravel?

Need a line of code using Laravel framework that will:

The business scenario I got is making recurring payments for customers using my charge.php file, but I wanna manage/delete/add subscriptions.

Straight-forward codes are welcomed.

Upvotes: 0

Views: 631

Answers (1)

jim alef
jim alef

Reputation: 15

cron jobs in laravel known by commands name,

creating cron job : php artisan make:console HappyBirthday --command=sms:birthday this will create a php file under app/Commands/ directory

for see the list : php artisan list

for more information check the link : https://www.sitepoint.com/managing-cronjobs-with-laravel/

Upvotes: 1

Related Questions