I need to send an email each month so I use a CRON. This one is working but I use symfony and I need to send them with the CRON and the SwiftMailer bundle. What command should I use to execute the mail sending system ?
Thank you
I've fixed my problem. I created another symfony command with all my code in the execute function.
Hope this can help someone !
please try this method
crontab :
00 12 1 * 0 /usr/bin/php /var/www/html/your_file_name.php