views:

23

answers:

1

I just ran a command that's sending out mass emails to everyone.

How do I force stop my action mailer?

the job was done through delayed_job and I tried rake jobs:clear and script/delayed_job stop

+1  A: 

try kill -9 on the process

shingara
how? where? ...
Trip
on your server where your actionmailer run. On the process where your actionmailer run. Shutdown your application or all of your worker. Clear your work job
shingara
@Trip: `ps aux | grep delay` or `ps aux | grep ruby` might help.
Swanand
Thanks guys. Don't let me program a nuclear silo.
Trip
@Swanand, if my grep returns `alorus 7975 0.0 3.0 59512 55052 ? S Oct07 2:37 delayed_job alorus 7815 0.0 0.0 1792 508 pts/0 R+ 06:34 0:00 grep --colour=auto delay`, What part do i kill?
Trip