Batch queue

This commit is contained in:
Juan Pablo Vial
2025-06-30 15:52:28 -04:00
parent 5f4d8a4bc2
commit d4f8804fbb
29 changed files with 525 additions and 134 deletions

View File

@ -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 "$@"