Batch queue
This commit is contained in:
@ -1,6 +1,14 @@
|
||||
#/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
printenv >> /etc/environment
|
||||
if [[ $# -gt 0 ]]
|
||||
then
|
||||
if [[ "$1" = "bash" || "$1" = "sh" || "$1" = "zsh" || "$1" = "/bin/bash" ]]
|
||||
then
|
||||
CMD=$1
|
||||
shift
|
||||
$CMD -c "$@"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
#cron -f -L 11
|
||||
/code/bin/incoviba loop
|
||||
/code/bin/incoviba "$@"
|
||||
|
Reference in New Issue
Block a user