I have a very simple one liner update_pot.sh
find . -iname "*.php" | xargs xgettext -olocale/messages.pot --from-code=UTF-8 -j
it works file if run ./update_pot.sh from prompt. but when i call from a cron job it returns
xgettext: no input file given
Try `xgettext --help' for more information.
I tried putting #! /bin/sh for the first line but no change.