Hi,
I'm running a script from cron which uses the 'logname' command, but does not work when the job is executed from cron, it does work fine from command line. When a script is run from cron... how can I determine what cron user is executing the script.
Anyone know?
Thanks
LEE
I'm running a script from cron which uses the 'logname' command, but does not work when the job is executed from cron, it does work fine from command line. When a script is run from cron... how can I determine what cron user is executing the script.
Anyone know?
Thanks
LEE