Multi-Sinks wireless sensor networks, a current research focus, has better stability and effectiveness compared to the traditional single-SINK structure. To solve the problem how to complete the tasks within the possibly shortest time, a task scheduling algorithm(DMTA) based on divisible load theory in multi-Sinks wireless sensor networks is proposed. In DMTA, the tasks are distributed to wireless sensor network based on the processing and communication capacity of each sensor by multiple Sinks respectively. By removing communications interference between each sensor, reduced task completion time and improved network resource utilization achieved. Simulation results show that DMTA reasonably distributes tasks to each node in wireless sensor networks, and effectively reduces the time-consuming of task completion.