Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a neat little command that is kind of nice because it doesn't require a daemon like at or ts (task spooler) and does dependencies unlike a lot of informal queue techniques and job control built into the shell:

  $ some_command &
  $ wait; another_command &
  $ wait; yet_another_command &
  $ ...
Some other lightweight command queue strategies:

* Use a background screen or byobu session. Advantage is that you can attach to it and monitor running tasks.

* bq is a bash script that lets you run a worker process and submit commands to be run in sequence. Nice because it's just a shell script.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: