[schedule] How to manually execute a schedule task only once
# My business needs

I created a schedule task, and `type = worker`, and every day I regularly request some data from other servers to insert into the database.

**Every time I deploy the application, I hope to automatically execute the scheduled task immediately.**

I searched the document and found that I can [manually perform scheduled tasks](https://eggjs.org/zh-cn/basics/schedule.html#%E6%89%8B%E5%8A%A8%E6%89%A7%E8%A1%8C%E5%AE%9A%E6%97%B6%E4%BB%BB%E5%8A%A1). I created the *app.ts* file and manually executed the scheduled task (`app.runSchedule`) in the **didReady** life cycle of `AppBootHook`.

**But I found that the scheduled task was executed twice（The number of workers is specified as 2）. What I expected is that it should only be executed once, because `type = worker`.**

---

What should I do?