Resolving “Stuck” Background Tasks
The easiest way is to use a GUI MySQL client to connect to the Craft database and edit the table directly.  Popular ones include Navicat and Sequel Pro, but there is a good list here of options for both OSX and Windows.

Once you connect to the database, you can edit the data in the craft_tasks table and change the value of status from running to pending to re-trigger it.