Deamon is a process that always run in background in memory. Deamons are used for
recurrent task execution like monitoring processes or data changes or etc. And command line-tool is a program that could be executed only when you needed. So my solution would be to use cmd tool because:
- Deamon always run in memory
- If the deamon crashes who will be responsible for restarting it?
- You have to implement simultaneous request control
So my opinioin is cmd tool. But if you want some kind of deamon behave there is other option. If you need to run php script or cmd tool repetitively use cron under linux or scheduler under windows