Quote:
Originally Posted by farkus888
the issue I am having is that neither "sort -u" command ever seems to work when run by cron.
|
The most common issues with cronjobs are related to its limited PATH.
So, either build PATH at the start of your script, or use the FQ path to the
sort program.
---------------------------
edit: I missed this at first read:
Quote:
Originally Posted by farkus888
I tried using the absolute path to sort...
|
Are you sure you tried that? If so, next I'd turn on trace (set -x) near the start of the script to see what's happening. You'll get stdout/stderr from the cronjob sent to the user's mail.