Da würde ich dir stattdessen einfach exec_wait empfehlen, wenn Du ohnehin schon wget benutzt. Das ist glaube ich eine deutlich einfachere Lösung.

I'd recommend the usage of the exec_wait instruction then. If you're using wget this might be the easiest solution.


Always learn from history, to be sure you make the same mistakes again...