To elaborate on Mark's (correct) answer:
- When you publish an item, two entities are created:
- A Publish Transaction entity which represents the Publish action
- A Publish Queue Message which (eventually) notifies the Publisher Service that there is work to do.
- When you do a scheduled publish of an item, the same two entities are created, but the Publish Queue Message will have a scheduled time on it (and it will only be provided to the Publisher Service after that time).
So, yes, if you remove all messages from the Publish Queue, the publisher will not know that there is work to do (including scheduled work). Note that the Publish Transactions will remain, so if you look at the "Publish Queue" in the UI, you will still see that there is work pending, but the Publisher Service will never pick those up anymore.
Ergo, removing messages from the Publish Queue (or any queue for that matter) should be done with care; it typically impacts the operation of the system.