Why cron needs PATH variables should be set explicitly in it ??
when I scheduled a shell script through cron, the result was different comared to running the same script through console. Then I googled a lot and i found that PATH variables should be explicitly defined in cron and it worked, my script executed correctly. I dont understand why this should be done. Please explain me....