May i know..? what command should add when i am upload my crone job laravel project to the server..?

Published 9 months ago by vengateshwaran

I am creating a crone job was delete the inactive user in my application and also send the information via email.. In this scenario May i know..? what command should add when i am upload my crone job laravel project to the server..?

i am running this command when php artisan mail:SendEmail but i don't know how can i add this command into server..!

Dry7
Dry7
9 months ago (151,880 XP)

@vengateshwaran add to cron (crontab -e)

* * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1

and in app/Console/Kernel.php like this https://github.com/Dry7/crm_catering/blob/develop/app/Console/Kernel.php

Please sign in or create an account to participate in this conversation.