0
如何在背景中同時運行12個bash腳本?在後臺運行intotify sricpt
這就是腳本:
#/bin/bash
while inotifywait -e close_write /var/www/html/wp-content/QM-Handbuch /01-Inhaltsverzeichnis.doc;
do soffice --headless --convert-to pdf /var/www/html/wp-content/QM-Handbuch/01-Inhaltsverzeichnis.doc &&
sudo mv /var/www/html/wp-content/QM-Handbuch/01-Inhaltsverzeichnis.pdf /var/www/html/wp-content