Published 3 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..!
@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