File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,19 +67,19 @@ There is a console command to send the messages in the spool:
67
67
68
68
.. code-block :: bash
69
69
70
- php app/console swiftmailer:spool:send
70
+ php app/console swiftmailer:spool:send --env=prod
71
71
72
72
It has an option to limit the number of messages to be sent:
73
73
74
74
.. code-block :: bash
75
75
76
- php app/console swiftmailer:spool:send --message-limit=10
76
+ php app/console swiftmailer:spool:send --message-limit=10 --env=prod
77
77
78
78
You can also set the time limit in seconds:
79
79
80
80
.. code-block :: bash
81
81
82
- php app/console swiftmailer:spool:send --time-limit=10
82
+ php app/console swiftmailer:spool:send --time-limit=10 --env=prod
83
83
84
84
Of course you will not want to run this manually in reality. Instead, the
85
85
console command should be triggered by a cron job or scheduled task and run
You can’t perform that action at this time.
0 commit comments