scale scale scale scale |
![]() |
scale scale scale scale |
|
++++++++++++++++++++++++++++++++++++++++ This is a 'easy to use' queuing-system 11/2003 by Alexander Poddey ++++++++++++++++++++++++++++++++++++++++ the nth task will not be started until the (n-1)th task is really finished. Just copy the script to any directory you like. You can run several independent queues in !different! directories If this script is doing strange things try the 'BCE' code with external template file or the simpler 'EASY' code which is not depending on bc. To do this just set the 'code' variable in the first vew lines of the script. use: ./queue.sh "command" & to add a command use: ./queue.sh -show to show the tasks in queue use: ./queue.sh -ignore 2 to delete command with TaskID2 from queue use: cat ./queue.log to see the logfile ---------------------------------------------- Known systems on which this script works: ---------------------------------------------- * hanni @ HLRN Hannover * standard linux installations with 'bc' running * standard linux installations The code works fine on your system and it's not on the list? found a bug? please let me know! You should test the scripts in accordance to their order in the following list.
When you want to use a script file to put your tasks in a queue you should use something like the following. The sleeping time depends on the speed of your file I/O (e.g. on hanni you should use 10 !).
|
||||