by having the same purpose i figuered out that u must use the full pathes (no * inside) when writing shell scripts.