wa0x6e / Cake-Resque

Resque plugin for CakePHP : for creating background jobs that can be processed offline later
MIT License
159 stars 56 forks source link

Uppercase 'kill' prevents stopping/restarting workers #3

Closed mikeful closed 12 years ago

mikeful commented 12 years ago

Simple fix is to change app/Plugin/Resque/Console/Command/ResqueShell.php around line 206:

-exec('Kill -9 '.$pid); // Kill all remaining system process
+exec('kill -9 '.$pid); // Kill all remaining system process
mikeful commented 12 years ago

Should have checked before creating issue. This is already fixed. :)