Re:Task Queue, with No Daemon
by cheeselip420 on Wednesday August 17, 2022 @10:04PM
(#32504344)
why; not; just; run; commands; sequentially; in; bash?
[ Parent
| on HN ]
1. I want to run commands in background, but sequentially
2. Used in a server application for queued long-time task
Re:Task Queue, with No Daemon
by cheeselip420 on Wednesday August 17, 2022 @10:26PM
(#32504500)
(so; why; not; run; in; background;)& ?
You are right in this situation.
The scene for this program is that I don't know all the tasks.
Namely, tasks are generated in real time.
1. I posted some task to the queue and continue my work, then the work make me post another work. e. g. in a shell script
2. For server application to queue tasks
Re:Task Queue, with No Daemon
by cheeselip420 on Wednesday August 17, 2022 @11:20PM
(#32504883)
Thanks for the explanation (and patience lol)